diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-29 14:07:42 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-29 14:07:42 +0000 |
commit | 372292fc26134e7f9ae993eb5377fb7293da233d (patch) | |
tree | 671d6629673a3c8756aa73492ca16d4356f14bd7 /test/unit/issue_nested_set_test.rb | |
parent | a2402bf9eee0f63951cf7f58ae9ff385cb221629 (diff) | |
download | redmine-372292fc26134e7f9ae993eb5377fb7293da233d.tar.gz redmine-372292fc26134e7f9ae993eb5377fb7293da233d.zip |
remove trailing white-spaces from test/unit/issue_nested_set_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6750 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_nested_set_test.rb')
-rw-r--r-- | test/unit/issue_nested_set_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/issue_nested_set_test.rb b/test/unit/issue_nested_set_test.rb index 103787a00..d3ff52f43 100644 --- a/test/unit/issue_nested_set_test.rb +++ b/test/unit/issue_nested_set_test.rb @@ -252,14 +252,14 @@ class IssueNestedSetTest < ActiveSupport::TestCase root = Issue.find(root.id) assert root.leaf?, "Root issue is not a leaf (lft: #{root.lft}, rgt: #{root.rgt})" end - + def test_destroy_issue_with_grand_child parent = create_issue! issue = create_issue!(:parent_issue_id => parent.id) child = create_issue!(:parent_issue_id => issue.id) grandchild1 = create_issue!(:parent_issue_id => child.id) grandchild2 = create_issue!(:parent_issue_id => child.id) - + assert_difference 'Issue.count', -4 do Issue.find(issue.id).destroy parent.reload |