@@ -798,7 +798,8 class IssueTest < ActiveSupport::TestCase | |||
|
798 | 798 | end |
|
799 | 799 | |
|
800 | 800 | def test_should_not_call_after_project_change_on_creation |
|
801 |
issue = Issue.new(:project_id => 1, :tracker_id => 1, :status_id => 1, |
|
|
801 | issue = Issue.new(:project_id => 1, :tracker_id => 1, :status_id => 1, | |
|
802 | :subject => 'Test', :author_id => 1) | |
|
802 | 803 | issue.expects(:after_project_change).never |
|
803 | 804 | issue.save! |
|
804 | 805 | end |
General Comments 0
You need to be logged in to leave comments.
Login now