mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Use supported RSpec syntax
This spec was using a very old syntax no longer supported by RSpec. It's not currently influencing specs result because the spec running into the error is currently set as "pending". However, the spec is still run and the error is still visible. Fixing the syntax does not fix the spec, but lets it get a bit further.
This commit is contained in:
@@ -670,7 +670,7 @@ RSpec.describe Spree::Payment do
|
||||
source: card,
|
||||
payment_method:
|
||||
)
|
||||
end.should raise_error(Spree::Core::GatewayError)
|
||||
end.to raise_error(Spree::Core::GatewayError)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user