diff options
author | Go MAEDA <maeda@farend.jp> | 2024-04-23 01:43:07 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-04-23 01:43:07 +0000 |
commit | feae42533b9597772505f5a0675eb04c64e75539 (patch) | |
tree | d11639692bd8515d9980b6519319c5228f3bad50 /test/unit | |
parent | 00d05864a6c556482c8fced52027dba2671cd8da (diff) | |
download | redmine-feae42533b9597772505f5a0675eb04c64e75539.tar.gz redmine-feae42533b9597772505f5a0675eb04c64e75539.zip |
Fix "unexpected invocation" test failure in IssueTest with Mocha 2.2.0 (#40603).
git-svn-id: https://svn.redmine.org/redmine/trunk@22786 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/issue_test.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 599c0046d..21a295aa1 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -707,9 +707,6 @@ class IssueTest < ActiveSupport::TestCase issue.expects(:project_id=).in_sequence(seq) issue.expects(:tracker_id=).in_sequence(seq) issue.expects(:subject=).in_sequence(seq) - assert_raise Exception do - issue.attributes = {:subject => 'Test'} - end assert_nothing_raised do issue.attributes = {:tracker_id => 2, :project_id => 1, :subject => 'Test'} end |