Skip to content

Commit

Permalink
Merge 599f22f into 54294a3
Browse files Browse the repository at this point in the history
  • Loading branch information
simi committed Dec 7, 2014
2 parents 54294a3 + 599f22f commit a9ae14b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pages/spec/features/refinery/admin/pages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ def expect_window_without_content(content, window: windows.last)
module Refinery
module Admin
describe "Pages", :type => :feature do
before { ::I18n.default_locale = Globalize.locale = :en }
around do |example|
::I18n.default_locale = Globalize.locale = :en
example.run
::I18n.default_locale = Globalize.locale = :en
end

refinery_login_with :refinery_user

context "when no pages" do
Expand Down

0 comments on commit a9ae14b

Please sign in to comment.