aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_general_controller_spec.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-30 08:41:44 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-30 08:41:44 +1100
commit581475dddb48e000dc5143937677dd8b412569b5 (patch)
treea9b698e2e00280f2130b621b48122035d15355e3 /spec/controllers/admin_general_controller_spec.rb
parent91f361f2e5676000a51a45f25294484a1b50eb05 (diff)
Updated test to correctly test what it was testing
Diffstat (limited to 'spec/controllers/admin_general_controller_spec.rb')
-rw-r--r--spec/controllers/admin_general_controller_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/controllers/admin_general_controller_spec.rb b/spec/controllers/admin_general_controller_spec.rb
index b0b65857f..971960762 100644
--- a/spec/controllers/admin_general_controller_spec.rb
+++ b/spec/controllers/admin_general_controller_spec.rb
@@ -14,8 +14,7 @@ describe AdminGeneralController do
it "should redirect to include trailing slash" do
get :index
- response.should redirect_to(:controller => 'admin_general',
- :action => 'index')
+ response.should redirect_to admin_general_index_url(:trailing_slash => true)
end
end