updated rails to 4.2.4
This commit is contained in:
parent
37697517df
commit
42e8bb11ea
55 changed files with 766 additions and 365 deletions
9
spec/factories/comments.rb
Normal file
9
spec/factories/comments.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :comment do
|
||||
body 'Most interresting comment ever, created by a girl.'
|
||||
user
|
||||
association :commentable, factory: :event
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue