You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Company.blueprint do
end
User.blueprint do
company
end
Then a call to User.make! will create a company as well.
However, if I do this: User.make!(:company => my_company), Machinist still create another company aside my_company, which is a redundant company.
The text was updated successfully, but these errors were encountered:
Given I have these blueprints as follow:
Then a call to
User.make!
will create a company as well.However, if I do this:
User.make!(:company => my_company)
, Machinist still create another company asidemy_company
, which is a redundant company.The text was updated successfully, but these errors were encountered: