##// END OF EJS Templates
Fixes unsafe assertion that may cause failures....
Jean-Philippe Lang -
r4371:10ba08ce13f2
parent child
Show More
@@ -58,8 +58,8 class IssueMovesControllerTest < ActionController::TestCase
58 post :create, :ids => [1, 2], :notes => 'Moving two issues'
58 post :create, :ids => [1, 2], :notes => 'Moving two issues'
59
59
60 assert_redirected_to :controller => 'issues', :action => 'index', :project_id => 'ecookbook'
60 assert_redirected_to :controller => 'issues', :action => 'index', :project_id => 'ecookbook'
61 assert_equal 'Moving two issues', Issue.find(1).journals.last.notes
61 assert_equal 'Moving two issues', Issue.find(1).journals.sort_by(&:id).last.notes
62 assert_equal 'Moving two issues', Issue.find(2).journals.last.notes
62 assert_equal 'Moving two issues', Issue.find(2).journals.sort_by(&:id).last.notes
63
63
64 end
64 end
65
65
General Comments 0
You need to be logged in to leave comments. Login now