aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2013-06-27 09:25:19 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2013-06-27 09:25:19 +0300
commit7a76219d721d6e07a8b99dd3bbcfb87136d05052 (patch)
tree133c48dca98cd416eda5b9e185d28d5972cd7051 /spec/factories
parenta8af874920fff981eb535d100d736f2a0017f266 (diff)
downloadrefinerycms-blog-7a76219d721d6e07a8b99dd3bbcfb87136d05052.tar.gz
refinerycms-blog-7a76219d721d6e07a8b99dd3bbcfb87136d05052.tar.bz2
refinerycms-blog-7a76219d721d6e07a8b99dd3bbcfb87136d05052.zip
Update specs due to recent Capybara/FactoryGirl upgrade.
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/blog_posts.rb4
1 files changed, 2 insertions, 2 deletions
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