##// END OF EJS Templates
code layout clean up test_should_not_call_after_project_change_on_creation of unit issue test...
Toshi MARUYAMA -
r10439:04ac60d891f8
parent child
Show More
@@ -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, :subject => 'Test', :author_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