summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-10-13 10:53:44 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-10-13 10:53:44 +0000
commit0cf44b976f7ce446475e5459bc15890d1c24b75d (patch)
tree77a9b77f18f50afead8df96b665a340c4ea472c0
parentf76de605a0d02c9c9d62e1e883e596b7ed7d9426 (diff)
downloadredmine-0cf44b976f7ce446475e5459bc15890d1c24b75d.tar.gz
redmine-0cf44b976f7ce446475e5459bc15890d1c24b75d.zip
code layout clean up test_new_statuses_allowed_to_should_return_all_transitions_for_admin of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10644 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/unit/issue_test.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb
index 03cb029f1..47b374826 100644
--- a/test/unit/issue_test.rb
+++ b/test/unit/issue_test.rb
@@ -450,8 +450,9 @@ class IssueTest < ActiveSupport::TestCase
admin = User.find(1)
issue = Issue.find(1)
assert !admin.member_of?(issue.project)
- expected_statuses = [issue.status] + WorkflowTransition.find_all_by_old_status_id(issue.status_id).map(&:new_status).uniq.sort
-
+ expected_statuses = [issue.status] +
+ WorkflowTransition.find_all_by_old_status_id(
+ issue.status_id).map(&:new_status).uniq.sort
assert_equal expected_statuses, issue.new_statuses_allowed_to(admin)
end