From 7a76219d721d6e07a8b99dd3bbcfb87136d05052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Thu, 27 Jun 2013 09:25:19 +0300 Subject: Update specs due to recent Capybara/FactoryGirl upgrade. --- spec/factories/blog_posts.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/factories') diff --git a/spec/factories/blog_posts.rb b/spec/factories/blog_posts.rb index eebad3c..ff4cf16 100644 --- a/spec/factories/blog_posts.rb +++ b/spec/factories/blog_posts.rb @@ -5,8 +5,8 @@ FactoryGirl.define do draft false tag_list "chicago, shopping, fun times" published_at Time.now - author { Factory(:refinery_user) } - + author { FactoryGirl.create(:refinery_user) } + factory :blog_post_draft do draft true end -- cgit v1.2.3