Fix active order display in supplier side
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
FactoryGirl.define do
|
||||
factory :order do
|
||||
association :list
|
||||
association :user
|
||||
association :supplier #TODO warning! this may create a different supplier than the one created by the associated table
|
||||
end
|
||||
end
|
||||
@@ -1,6 +1,6 @@
|
||||
FactoryGirl.define do
|
||||
factory :user do
|
||||
email "test@example.com"
|
||||
sequence( :email ){|i| "test#{i}@example.com" }
|
||||
password "secret"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user