Permalink
Browse files

fix failing spec

  • Loading branch information...
1 parent 1f1b0f2 commit 5a1cae3fa6c4b44e20c7052e9b7ae1e64707360f @jramos jramos committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 5a1cae3

Please sign in to comment.