From 098d3131636f0c869d49954787c03cf94344b64c Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 24 Feb 2016 16:33:31 +1100 Subject: [PATCH] Using `should` syntax in payment method spec --- spec/features/admin/payment_method_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/admin/payment_method_spec.rb b/spec/features/admin/payment_method_spec.rb index aa7caa2e0b..5c16f886e5 100644 --- a/spec/features/admin/payment_method_spec.rb +++ b/spec/features/admin/payment_method_spec.rb @@ -44,7 +44,7 @@ feature %q{ select2_select "PayPal Express", from: "payment_method_type" click_button 'Update' - expect(flash_message).to eq 'Payment Method has been successfully updated!' + flash_message.should eq 'Payment Method has been successfully updated!' payment_method = Spree::PaymentMethod.find_by_name('New PM Name') expect(payment_method.distributors).to include @distributors[1], @distributors[2]