mirror of
https://github.com/redmine/redmine.git
synced 2026-01-27 01:39:58 +01:00
Merged r22786 from trunk to 5.1-stable (#40603).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22788 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user