diff options
author | Justin Ramos <justin.ramos@gmail.com> | 2012-08-13 15:45:15 -0500 |
---|---|---|
committer | Justin Ramos <justin.ramos@gmail.com> | 2012-08-13 15:45:15 -0500 |
commit | 5a1cae3fa6c4b44e20c7052e9b7ae1e64707360f (patch) | |
tree | ae49f2645fd576777223c4955c53684326bef768 /spec | |
parent | 1f1b0f278be73091763b9133db6660b504f63fac (diff) | |
download | refinerycms-blog-5a1cae3fa6c4b44e20c7052e9b7ae1e64707360f.tar.gz refinerycms-blog-5a1cae3fa6c4b44e20c7052e9b7ae1e64707360f.tar.bz2 refinerycms-blog-5a1cae3fa6c4b44e20c7052e9b7ae1e64707360f.zip |
fix failing spec
Diffstat (limited to 'spec')
-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) |