Skip to content

Commit

Permalink
Syntax fixes according to rubocop inspection.
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-landa committed Nov 9, 2020
1 parent cb3c4a8 commit 6d8a522
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/spec/models/spree/payment_method_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,9 @@ def gateway_class
it "raises an UnsupportedPaymentMethod error" do
expect { Spree::PaymentMethod.all.to_json }
.to raise_error(
Spree::PaymentMethod::UnsupportedPaymentMethod,
/Found invalid payment type 'UnsupportedPaymentMethod'/)
Spree::PaymentMethod::UnsupportedPaymentMethod,
/Found invalid payment type 'UnsupportedPaymentMethod'/
)
end
end
end
Expand Down

0 comments on commit 6d8a522

Please sign in to comment.