only two tests need a fix. Starting to clear deprecation warnings.

This commit is contained in:
2013-05-24 15:48:54 +01:00
parent f3c13a7175
commit 868fddd7bc
6 changed files with 25 additions and 24 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ FactoryGirl.define do
end
factory :digital_shipping_calculator, class: Spree::Calculator::DigitalDelivery do |c|
after_create { |c| c.set_preference(:amount, 0) }
after(:create) { |c| c.set_preference(:amount, 0) }
end
factory :digital_shipping_method, parent: :shipping_method do |f|