Patching authorization tests

This commit is contained in:
Will Marshall
2014-06-10 14:01:25 +10:00
parent 4d7fa8b1bf
commit 94b7601d73

View File

@@ -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