summaryrefslogtreecommitdiffstats
path: root/test/functional/timelog_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/timelog_controller_test.rb')
-rw-r--r--test/functional/timelog_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb
index ead919006..4e6df7e1b 100644
--- a/test/functional/timelog_controller_test.rb
+++ b/test/functional/timelog_controller_test.rb
@@ -582,8 +582,8 @@ class TimelogControllerTest < Redmine::ControllerTest
@request.session[:user_id] = 2
post :bulk_update, :params => {:ids => [1, 2], :time_entry => { :hours => 'A'}}
- assert_response 302
- assert_match /Failed to save 2 time entrie/, flash[:error]
+ assert_response :success
+ assert_select_error /Failed to save 2 time entrie/
end
def test_bulk_update_on_different_projects