diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-25 09:35:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-25 09:35:17 +0000 |
commit | c0f082ad0252b1da280c0ba61f750046c461976b (patch) | |
tree | b26bcef9a7a38d8141462636114e200c97fe19dd /test/unit/repository_test.rb | |
parent | caccb57b55f7b9f3c1a3ee74e649804698481ce6 (diff) | |
download | redmine-c0f082ad0252b1da280c0ba61f750046c461976b.tar.gz redmine-c0f082ad0252b1da280c0ba61f750046c461976b.zip |
Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13508 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_test.rb')
-rw-r--r-- | test/unit/repository_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb index 9537e50a6..54f72bbe8 100644 --- a/test/unit/repository_test.rb +++ b/test/unit/repository_test.rb @@ -212,7 +212,7 @@ class RepositoryTest < ActiveSupport::TestCase # make sure issue 1 is not already closed fixed_issue = Issue.find(1) - assert !fixed_issue.status.is_closed? + assert !fixed_issue.closed? old_status = fixed_issue.status with_settings :notified_events => %w(issue_added issue_updated) do @@ -222,7 +222,7 @@ class RepositoryTest < ActiveSupport::TestCase # fixed issues fixed_issue.reload - assert fixed_issue.status.is_closed? + assert fixed_issue.closed? assert_equal 90, fixed_issue.done_ratio assert_equal [101], fixed_issue.changeset_ids |