Commit acf2e685 authored by tmaruyama's avatar tmaruyama

code layout clean up test_should_not_call_after_project_change_on_creation of unit issue test

git-svn-id: https://svn.redmine.org/redmine/trunk@10650 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b6c05c8e
......@@ -798,7 +798,8 @@ class IssueTest < ActiveSupport::TestCase
end
def test_should_not_call_after_project_change_on_creation
issue = Issue.new(:project_id => 1, :tracker_id => 1, :status_id => 1, :subject => 'Test', :author_id => 1)
issue = Issue.new(:project_id => 1, :tracker_id => 1, :status_id => 1,
:subject => 'Test', :author_id => 1)
issue.expects(:after_project_change).never
issue.save!
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment