Fixes unsafe assertion that may cause failures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4485 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
cd71c1cc0a
commit
10ba08ce13
|
@ -58,8 +58,8 @@ class IssueMovesControllerTest < ActionController::TestCase
|
|||
post :create, :ids => [1, 2], :notes => 'Moving two issues'
|
||||
|
||||
assert_redirected_to :controller => 'issues', :action => 'index', :project_id => 'ecookbook'
|
||||
assert_equal 'Moving two issues', Issue.find(1).journals.last.notes
|
||||
assert_equal 'Moving two issues', Issue.find(2).journals.last.notes
|
||||
assert_equal 'Moving two issues', Issue.find(1).journals.sort_by(&:id).last.notes
|
||||
assert_equal 'Moving two issues', Issue.find(2).journals.sort_by(&:id).last.notes
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue