diff options
author | Philip Arndt <parndt@gmail.com> | 2012-08-13 15:57:24 -0700 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-08-13 15:57:24 -0700 |
commit | 704901e2ab359b767ebe9d3c74fc5a1560e0bd08 (patch) | |
tree | ae49f2645fd576777223c4955c53684326bef768 | |
parent | 1f1b0f278be73091763b9133db6660b504f63fac (diff) | |
parent | 5a1cae3fa6c4b44e20c7052e9b7ae1e64707360f (diff) | |
download | refinerycms-blog-704901e2ab359b767ebe9d3c74fc5a1560e0bd08.tar.gz refinerycms-blog-704901e2ab359b767ebe9d3c74fc5a1560e0bd08.tar.bz2 refinerycms-blog-704901e2ab359b767ebe9d3c74fc5a1560e0bd08.zip |
Merge pull request #263 from jramos/master
Fixing failing spec for requests/refinery/blog/posts_spec.rb
-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) |