Updated testing to use spree 1.1 and new factorygirl syntax
This commit is contained in:
1 parent
a8c27750ef
commit
5cfa1175af
10 files changed
+42
-43
No files matched your search
@@ -1,3 +1,5 @@
|
||||
Factory.define :digital, :class => Spree::Digital do |f|
|
||||
f.variant { |p| p.association(:variant) }
|
||||
FactoryGirl.define do
|
||||
factory :digital, :class => Spree::Digital do |f|
|
||||
f.variant { |p| p.association(:variant) }
|
||||
end
|
||||
end
|
||||
@@ -1,4 +1,6 @@
|
||||
Factory.define :digital_link, :class => Spree::DigitalLink do |f|
|
||||
f.digital { |p| p.association(:digital) }
|
||||
f.line_item { |p| p.association(:line_item) }
|
||||
FactoryGirl.define do
|
||||
factory :digital_link, :class => Spree::DigitalLink do |f|
|
||||
f.digital { |p| p.association(:digital) }
|
||||
f.line_item { |p| p.association(:line_item) }
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user