diff options
-rw-r--r-- | spec/requests/refinery/blog/posts_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/refinery/blog/posts_spec.rb b/spec/requests/refinery/blog/posts_spec.rb index 380e600..de0f5f9 100644 --- a/spec/requests/refinery/blog/posts_spec.rb +++ b/spec/requests/refinery/blog/posts_spec.rb @@ -5,7 +5,7 @@ module Refinery refinery_login_with :refinery_user context "when has blog posts" do - let!(:blog_post) { FactoryGirl.create(:blog_post, :title => "Refinery CMS blog post") } + let!(:blog_post) { Globalize.with_locale(:en) { FactoryGirl.create(:blog_post, :title => "Refinery CMS blog post") } } it "should display blog post" do visit refinery.blog_post_path(blog_post) |