Skip to content

Commit

Permalink
Fix specs and add back initializer code which was deleted in earlier …
Browse files Browse the repository at this point in the history
…commit.
  • Loading branch information
ugisozols committed Jan 27, 2012
1 parent 8687cfa commit dfead7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/spec/requests/refinery/admin/pages_spec.rb
Expand Up @@ -143,7 +143,7 @@ module Admin

context "with translations" do
before(:each) do
Refinery::I18n.config.frontend_locales = [:en, :ru]
Refinery::I18n.config.stub(:frontend_locales).and_return([:en, :ru])

# Create a home page in both locales (needed to test menus)
home_page = FactoryGirl.create(:page, :title => 'Home',
Expand Down

0 comments on commit dfead7b

Please sign in to comment.