woke factory girl

This commit is contained in:
Benjamin
2021-04-21 17:21:58 -05:00
parent 46fc427694
commit f96ae22388
8 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -4,13 +4,13 @@ FactoryBot.define do
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'
state { 'placed' }
end
trait :active do
state 'active'
state { 'active' }
end
trait :cancelled do
state 'cancelled'
state { 'cancelled' }
end
end
end