mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-08-07 05:13:37 -04:00
Added associations and tested them
This commit is contained in:
1 parent
3cff543184
commit
6da3e4fae5
7 files changed
+34
-5
No files matched your search
@@ -1,9 +1,7 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :comment do
|
||||
post_id 1
|
||||
author_id 1
|
||||
body "MyText"
|
||||
post
|
||||
author
|
||||
body "OMG LOL"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user