From 4cfd5464a0d4dcad5c845b407c9bde56603e9216 Mon Sep 17 00:00:00 2001 From: Marek Labos Date: Tue, 21 Aug 2012 22:56:54 +0200 Subject: fix tests after presence validation for published_at and author fields --- spec/factories/blog_posts.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/factories') diff --git a/spec/factories/blog_posts.rb b/spec/factories/blog_posts.rb index 1ad2bd2..eebad3c 100644 --- a/spec/factories/blog_posts.rb +++ b/spec/factories/blog_posts.rb @@ -5,6 +5,7 @@ FactoryGirl.define do draft false tag_list "chicago, shopping, fun times" published_at Time.now + author { Factory(:refinery_user) } factory :blog_post_draft do draft true -- cgit v1.2.3