From 65919d382b1773ddad39f93cf31d87eace5fb03e Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Tue, 16 Nov 2010 09:30:24 -0800 Subject: [PATCH] Update tests for changes in latest Redmine core error pages --- test/functional/rates_controller_test.rb | 2 +- test/test_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/rates_controller_test.rb b/test/functional/rates_controller_test.rb index 1723643..6c197c5 100644 --- a/test/functional/rates_controller_test.rb +++ b/test/functional/rates_controller_test.rb @@ -10,7 +10,7 @@ class RatesControllerTest < ActionController::TestCase should 'should display the standard unauthorized page' do instance_eval(&block) - assert_template 'common/403' + assert_template 'common/error' end context "with mime type of xml" do diff --git a/test/test_helper.rb b/test/test_helper.rb index 9aa74bb..6be11e6 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -28,7 +28,7 @@ module IntegrationTestHelper def assert_forbidden assert_response :forbidden - assert_template 'common/403' + assert_template 'common/error' end def assert_requires_login