From d9f90be38af7e6e50e08613e93c412744d5b135a Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 13 Mar 2015 10:52:44 +1100 Subject: [PATCH] Fix indentation --- spec/models/spree/order_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/models/spree/order_spec.rb b/spec/models/spree/order_spec.rb index ae689e009e..3eeac8b40f 100644 --- a/spec/models/spree/order_spec.rb +++ b/spec/models/spree/order_spec.rb @@ -346,11 +346,11 @@ describe Spree::Order do let!(:p2) { create(:payment, order: o2, payment_method: pm2) } it "returns the order with payment method name when one specified" do - Spree::Order.with_payment_method_name('foo').should == [o1] + Spree::Order.with_payment_method_name('foo').should == [o1] end it "returns the orders with payment method name when many specified" do - Spree::Order.with_payment_method_name(['foo', 'bar']).should include o1, o2 + Spree::Order.with_payment_method_name(['foo', 'bar']).should include o1, o2 end it "doesn't return rows with a different payment method name" do @@ -359,8 +359,8 @@ describe Spree::Order do end it "doesn't return duplicate rows" do - p2 = FactoryGirl.create(:payment, :order => o1, :payment_method => pm1) - Spree::Order.with_payment_method_name('foo').length.should == 1 + p2 = FactoryGirl.create(:payment, order: o1, payment_method: pm1) + Spree::Order.with_payment_method_name('foo').length.should == 1 end end end