aboutsummaryrefslogtreecommitdiffstats
path: root/features/support/factories/blog_comments.rb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-06-29 13:23:21 +1200
committerPhilip Arndt <parndt@gmail.com>2011-06-29 13:23:48 +1200
commitb725799fef031ca253e30236e5286edfd85c5cc8 (patch)
tree4f2f017b1b118c782e90076e31714fe540d3fd9d /features/support/factories/blog_comments.rb
parentcf335800dad86ef9631bf83ccdd5c4855cc40153 (diff)
downloadrefinerycms-blog-b725799fef031ca253e30236e5286edfd85c5cc8.tar.gz
refinerycms-blog-b725799fef031ca253e30236e5286edfd85c5cc8.tar.bz2
refinerycms-blog-b725799fef031ca253e30236e5286edfd85c5cc8.zip
Refactored the spec suite to be consistent.
Diffstat (limited to 'features/support/factories/blog_comments.rb')
-rw-r--r--features/support/factories/blog_comments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/factories/blog_comments.rb b/features/support/factories/blog_comments.rb
index af364be..9405c42 100644
--- a/features/support/factories/blog_comments.rb
+++ b/features/support/factories/blog_comments.rb
@@ -4,5 +4,5 @@ Factory.define(:blog_comment) do |f|
f.name "Joe Commenter"
f.sequence(:email) { |n| "person#{n}@example.com" }
f.body "Which one is the best for picking up new shoes?"
- f.association :post
+ f.association :post, :factory => :blog_post
end