]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in test/integration/api_t...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 14 Oct 2019 11:14:00 +0000 (11:14 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 14 Oct 2019 11:14:00 +0000 (11:14 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18652 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/integration/api_test/my_test.rb

index 2fcf2dc5765ab004a86194d96ea6dd4ac0d7bb6c..a64d14241b5851d4a96fec64a75a57fc715c46dd 100644 (file)
@@ -189,7 +189,6 @@ Layout/EmptyLinesAroundBlockBody:
   Exclude:
     - 'db/schema.rb'
     - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
-    - 'test/integration/api_test/my_test.rb'
 
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle.
index 8ea98ad6e50b875fc9513f90ca0421266a25296d..8c70ea9a4f824dcbfef1047ef3fdc26588218741 100644 (file)
@@ -63,13 +63,11 @@ class Redmine::ApiTest::MyTest < Redmine::ApiTest::Base
       :headers => credentials('dlopper', 'foo')
     assert_response :no_content
     assert_equal '', @response.body
-
     assert user = User.find_by_lastname('Renamed')
     assert_equal 'Dave', user.firstname
     assert_equal 'Renamed', user.lastname
     assert_equal 'dave@somenet.foo', user.mail
     refute user.admin?
-
   end
 
   test "PUT /my/account.xml with invalid parameters" do