Fix active order display in supplier side

This commit is contained in:
2013-03-10 18:24:09 +01:00
parent 5eac918255
commit 0979eda9be
11 changed files with 157 additions and 34 deletions
+7
View File
@@ -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 -1
View File
@@ -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