aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories
diff options
context:
space:
mode:
authorMarek Labos <keraml@gmail.com>2012-08-21 22:56:54 +0200
committerMarek Labos <keraml@gmail.com>2012-08-21 22:56:54 +0200
commit4cfd5464a0d4dcad5c845b407c9bde56603e9216 (patch)
tree815f8e291c2ff51c7c353d001160f41a672b570e /spec/factories
parentc9734fb67d60c3440e483ee4293b9a6c65657624 (diff)
downloadrefinerycms-blog-4cfd5464a0d4dcad5c845b407c9bde56603e9216.tar.gz
refinerycms-blog-4cfd5464a0d4dcad5c845b407c9bde56603e9216.tar.bz2
refinerycms-blog-4cfd5464a0d4dcad5c845b407c9bde56603e9216.zip
fix tests after presence validation for published_at and author fields
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/blog_posts.rb1
1 files changed, 1 insertions, 0 deletions
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