summaryrefslogtreecommitdiffstats
path: root/test/functional/messages_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/messages_controller_test.rb')
-rw-r--r--test/functional/messages_controller_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb
index 85f45f1d7..12a6d5f29 100644
--- a/test/functional/messages_controller_test.rb
+++ b/test/functional/messages_controller_test.rb
@@ -81,12 +81,12 @@ class MessagesControllerTest < Redmine::ControllerTest
def test_show_message_not_found
get(:show, :params => {:board_id => 1, :id => 99999})
- assert_response 404
+ assert_response :not_found
end
def test_show_message_from_invalid_board_should_respond_with_404
get(:show, :params => {:board_id => 999, :id => 1})
- assert_response 404
+ assert_response :not_found
end
def test_show_should_display_watchers
@@ -125,7 +125,7 @@ class MessagesControllerTest < Redmine::ControllerTest
def test_get_new_with_invalid_board
@request.session[:user_id] = 2
get(:new, :params => {:board_id => 99})
- assert_response 404
+ assert_response :not_found
end
def test_post_new
@@ -321,7 +321,7 @@ class MessagesControllerTest < Redmine::ControllerTest
}
)
- assert_response 404
+ assert_response :not_found
end
def test_preview_new