Permalink
Browse files

Merge pull request #263 from jramos/master

Fixing failing spec for requests/refinery/blog/posts_spec.rb
  • Loading branch information...
parndt committed Aug 13, 2012
2 parents 1f1b0f2 + 5a1cae3 commit 704901e2ab359b767ebe9d3c74fc5a1560e0bd08
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 704901e

Please sign in to comment.