Added associations and tested them

This commit is contained in:
gnattery committed 2013-02-06 15:20:44 +11:00
1 parent 3cff543184
commit 6da3e4fae5
7 files changed
+34 -5

No files matched your search

+3 -5
View File
@@ -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