diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-30 08:59:14 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-30 08:59:14 +0000 |
commit | d4f491847da7df12e8f181f66168ae50c2d15034 (patch) | |
tree | 8caee99976e06eb427affed375bb07b8e59a162c /test/unit/changeset_test.rb | |
parent | cc8750f7dd702fe2861c668b07a2c18ca8501b6a (diff) | |
download | redmine-d4f491847da7df12e8f181f66168ae50c2d15034.tar.gz redmine-d4f491847da7df12e8f181f66168ae50c2d15034.zip |
code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in test/unit/changeset_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18555 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/changeset_test.rb')
-rw-r--r-- | test/unit/changeset_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb index c50f1f14a..3c44b5878 100644 --- a/test/unit/changeset_test.rb +++ b/test/unit/changeset_test.rb @@ -210,7 +210,6 @@ class ChangesetTest < ActiveSupport::TestCase {'keywords' => 'fixes, closes', 'status_id' => '5'}, {'keywords' => 'resolves', 'status_id' => '3'} ] do - issue1 = Issue.generate! issue2 = Issue.generate! Changeset.generate!(:comments => "Closes ##{issue1.id}\nResolves ##{issue2.id}") @@ -224,7 +223,6 @@ class ChangesetTest < ActiveSupport::TestCase {'keywords' => 'fixes', 'status_id' => '5', 'if_tracker_id' => '2'}, {'keywords' => 'fixes', 'status_id' => '3', 'if_tracker_id' => ''} ] do - issue1 = Issue.generate!(:tracker_id => 2) issue2 = Issue.generate! Changeset.generate!(:comments => "Fixes ##{issue1.id}, ##{issue2.id}") @@ -238,7 +236,6 @@ class ChangesetTest < ActiveSupport::TestCase {'keywords' => 'Fixes, Closes', 'status_id' => '5', 'done_ratio' => '100', 'if_tracker_id' => '2'}, {'keywords' => 'Testing', 'status_id' => '3', 'done_ratio' => '90', 'if_tracker_id' => '2'} ] do - issue1 = Issue.generate!(:tracker_id => 2) issue2 = Issue.generate!(:tracker_id => 2) Changeset.generate!(:comments => "Testing ##{issue1.id}, Fixes ##{issue2.id}") @@ -256,7 +253,6 @@ class ChangesetTest < ActiveSupport::TestCase {'keywords' => 'fixes', 'status_id' => '5', 'if_tracker_id' => '2'}, {'keywords' => 'fixes', 'status_id' => '3', 'if_tracker_id' => '3'} ] do - issue1 = Issue.generate!(:tracker_id => 2) issue2 = Issue.generate! Changeset.generate!(:comments => "Fixes ##{issue1.id}, ##{issue2.id}") |