Adds lodging model
This commit is contained in:
parent
f0b6c32a54
commit
029281a9ae
5 changed files with 48 additions and 1 deletions
9
spec/factories/lodgings.rb
Normal file
9
spec/factories/lodgings.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :lodging do
|
||||
name 'Example Hotel'
|
||||
description 'Lorem Ipsum Dolor'
|
||||
venue
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue