aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJustin Ramos <justin.ramos@gmail.com>2012-08-13 15:45:15 -0500
committerJustin Ramos <justin.ramos@gmail.com>2012-08-13 15:45:15 -0500
commit5a1cae3fa6c4b44e20c7052e9b7ae1e64707360f (patch)
treeae49f2645fd576777223c4955c53684326bef768 /spec
parent1f1b0f278be73091763b9133db6660b504f63fac (diff)
downloadrefinerycms-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.rb2
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)