From d38421dde8522f9b962dd8460e4fd7165bd5a549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sat, 15 May 2010 10:39:00 +0200 Subject: [PATCH] Green tests on Rails master, closes #261 --- test/integration/database_authenticatable_test.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/integration/database_authenticatable_test.rb b/test/integration/database_authenticatable_test.rb index 4bbb2b31..8c4596ad 100644 --- a/test/integration/database_authenticatable_test.rb +++ b/test/integration/database_authenticatable_test.rb @@ -267,9 +267,8 @@ class AuthenticationTest < ActionController::IntegrationTest # Access test 'render 404 on roles without routes' do - assert_raise ActionController::RoutingError do - get '/admin_area/password/new' - end + get '/admin_area/password/new' + assert_equal 404, response.status end test 'render 404 on roles without mapping' do