Create event factory, and required association factories

This commit is contained in:
James Mason 2014-05-08 14:52:33 -07:00
parent a33e930111
commit cc3ff4837f
4 changed files with 77 additions and 2 deletions

View file

@ -1,8 +1,13 @@
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :room do
name 'Example Room'
size 4
conference
end
end
factory :room_for_100 do
name 'Room for 100'
size 100
end
end
end