@@ -798,7 +798,8 class IssueTest < ActiveSupport::TestCase | |||||
798 | end |
|
798 | end | |
799 |
|
799 | |||
800 | def test_should_not_call_after_project_change_on_creation |
|
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 | issue.expects(:after_project_change).never |
|
803 | issue.expects(:after_project_change).never | |
803 | issue.save! |
|
804 | issue.save! | |
804 | end |
|
805 | end |
General Comments 0
You need to be logged in to leave comments.
Login now