Implement spring and reset counters functionality
This commit is contained in:
@@ -3,5 +3,11 @@ FactoryGirl.define do
|
||||
association :list
|
||||
association :user
|
||||
association :supplier #TODO warning! this may create a different supplier than the one created by the associated table
|
||||
trait :placed do
|
||||
state 'placed'
|
||||
end
|
||||
trait :active do
|
||||
state 'active'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user