From b725799fef031ca253e30236e5286edfd85c5cc8 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Wed, 29 Jun 2011 13:23:21 +1200 Subject: Refactored the spec suite to be consistent. --- features/support/factories/blog_comments.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/support/factories/blog_comments.rb') 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 -- cgit v1.2.3