From 04ac60d891f8b974f6df1827a248b91a216d5238 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 13 Oct 2012 11:18:45 +0000 Subject: [PATCH] code layout clean up test_should_not_call_after_project_change_on_creation of unit issue test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10650 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/issue_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index df1a48dba..fc5db6329 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -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