From 94b7601d73851568535dc530e89f66c4b9ed86c2 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Tue, 10 Jun 2014 14:01:25 +1000 Subject: [PATCH] Patching authorization tests --- spec/features/admin/enterprise_user_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/admin/enterprise_user_spec.rb b/spec/features/admin/enterprise_user_spec.rb index 8f639d94fb..bf96f9eda2 100644 --- a/spec/features/admin/enterprise_user_spec.rb +++ b/spec/features/admin/enterprise_user_spec.rb @@ -91,12 +91,12 @@ feature %q{ scenario "should not be able to see system configuration" do visit '/admin/general_settings/edit' - page.should have_content 'Authorization Failure' + page.should have_content 'Unauthorized' end scenario "should not be able to see user management" do visit '/admin/users' - page.should have_content 'Authorization Failure' + page.should have_content 'Unauthorized' end end end