Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixing failing spec for requests/refinery/blog/posts_spec.rb #263

Merged
merged 1 commit into from

2 participants

Justin Ramos Philip Arndt
Justin Ramos

No description provided.

Philip Arndt parndt merged commit 704901e into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 13, 2012
  1. Justin Ramos

    fix failing spec

    jramos authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/requests/refinery/blog/posts_spec.rb
2  spec/requests/refinery/blog/posts_spec.rb
View
@@ -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)
Something went wrong with that request. Please try again.