diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-06-04 17:32:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-06-04 17:32:13 +0000 |
commit | b0c788497650380493b9c8e868b78bad0a3a856e (patch) | |
tree | 26c17ced6778456ff17700bc7cb23f835f415a2a /test/unit/issue_test.rb | |
parent | 46085644ed7c44ba8d2d8a88823a4bca1aa063b6 (diff) | |
download | redmine-b0c788497650380493b9c8e868b78bad0a3a856e.tar.gz redmine-b0c788497650380493b9c8e868b78bad0a3a856e.zip |
Adjusts error message in tests (#14086).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11927 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_test.rb')
-rw-r--r-- | test/unit/issue_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 075bae287..9bd5b018b 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -1525,7 +1525,7 @@ class IssueTest < ActiveSupport::TestCase child = Issue.new(:parent_issue_id => issue2.id, :start_date => '2012-10-16', :project_id => 1, :tracker_id => 1, :status_id => 1, :subject => 'Child', :author_id => 1) assert !child.valid? - assert_include 'Start date is invalid', child.errors.full_messages + assert_include 'cannot be earlier than 10/18/2012 because of preceding issues', child.errors.full_messages assert_equal Date.parse('2012-10-18'), child.soonest_start child.start_date = '2012-10-18' assert child.save |