Mercurial > hg > soundsoftware-site
diff test/functional/.svn/text-base/issue_moves_controller_test.rb.svn-base @ 119:8661b858af72
* Update to Redmine trunk rev 4705
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 14:12:06 +0000 |
parents | 94944d00e43c |
children | cbce1fd3b1b7 |
line wrap: on
line diff
--- a/test/functional/.svn/text-base/issue_moves_controller_test.rb.svn-base Fri Nov 19 14:05:24 2010 +0000 +++ b/test/functional/.svn/text-base/issue_moves_controller_test.rb.svn-base Thu Jan 13 14:12:06 2011 +0000 @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../test_helper' +require File.expand_path('../../test_helper', __FILE__) class IssueMovesControllerTest < ActionController::TestCase fixtures :all @@ -58,8 +58,8 @@ 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