Update tests for changes in latest Redmine core error pages
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user