summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_nested_set_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-07 04:17:47 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-07 04:17:47 +0000
commit2d8ecebf9cb7bbf1596cf6986250d266dd2ed7d5 (patch)
treec47ad888dbdfdf8a01aa6babbce4ccc2e10b1867 /test/unit/issue_nested_set_test.rb
parentafad5ed9f0df6ef969440e2865e96b4cd556d31f (diff)
downloadredmine-2d8ecebf9cb7bbf1596cf6986250d266dd2ed7d5.tar.gz
redmine-2d8ecebf9cb7bbf1596cf6986250d266dd2ed7d5.zip
code layout clean up of test/unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7595 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_nested_set_test.rb')
-rw-r--r--test/unit/issue_nested_set_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/issue_nested_set_test.rb b/test/unit/issue_nested_set_test.rb
index e52bc6600..d3610b087 100644
--- a/test/unit/issue_nested_set_test.rb
+++ b/test/unit/issue_nested_set_test.rb
@@ -51,7 +51,8 @@ class IssueNestedSetTest < ActiveSupport::TestCase
def test_creating_a_child_in_different_project_should_not_validate
issue = create_issue!
- child = Issue.new(:project_id => 2, :tracker_id => 1, :author_id => 1, :subject => 'child', :parent_issue_id => issue.id)
+ child = Issue.new(:project_id => 2, :tracker_id => 1, :author_id => 1,
+ :subject => 'child', :parent_issue_id => issue.id)
assert !child.save
assert_not_nil child.errors[:parent_issue_id]
end