aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/help_controller_spec.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-08-20 09:51:18 +0100
committerLouise Crow <louise.crow@gmail.com>2013-08-20 09:51:18 +0100
commit3d12cbe6ee7ff49dad9a473efc0792b2a4f4cba6 (patch)
tree1c43d3a004293f442f61b0e64847a4ef16cacd2a /spec/controllers/help_controller_spec.rb
parentc449240a1b1cddebb53e9748b15be43c0f65c463 (diff)
parent4b95ccffc468c256d6ba6248303dd2b78bf5896a (diff)
Merge branch 'release/0.13' into wdtk
Conflicts: locale/he_IL/app.po locale/hr_HR/app.po locale/nb_NO/app.po locale/uk/app.po
Diffstat (limited to 'spec/controllers/help_controller_spec.rb')
-rw-r--r--spec/controllers/help_controller_spec.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/controllers/help_controller_spec.rb b/spec/controllers/help_controller_spec.rb
index c47e1abd3..cc024f840 100644
--- a/spec/controllers/help_controller_spec.rb
+++ b/spec/controllers/help_controller_spec.rb
@@ -31,17 +31,11 @@ describe HelpController, "when using help" do
describe 'when requesting a page in a supported locale ' do
before do
- # Allow us to supply the locale manually
- RoutingFilter.active = false
# Prepend our fixture templates
fixture_theme_path = File.join(Rails.root, 'spec', 'fixtures', 'theme_views', 'theme_one')
controller.prepend_view_path fixture_theme_path
end
- after do
- RoutingFilter.active = true
- end
-
it 'should render the locale-specific template if available' do
get :contact, {:locale => 'es'}
response.body.should match('contáctenos theme one')