fix product distribution integration test
This commit is contained in:
parent
7dafcf714a
commit
50f5064d8e
2 changed files with 10 additions and 1 deletions
|
|
@ -2,8 +2,9 @@ require 'factory_girl'
|
|||
|
||||
FactoryGirl.define do
|
||||
|
||||
# requires order and ordergroup
|
||||
# requires order
|
||||
factory :group_order do
|
||||
ordergroup { FactoryGirl.create(:user, groups: [FactoryGirl.create(:ordergroup)]).ordergroup }
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue