add booth_request factory
This commit is contained in:
parent
48a475ca12
commit
4f99584b28
3 changed files with 26 additions and 12 deletions
|
|
@ -9,7 +9,8 @@ FactoryGirl.define do
|
|||
conference
|
||||
|
||||
after(:build) do |booth|
|
||||
booth.responsibles << create(:user)
|
||||
booth.responsibles << create(:booth_request).user
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue