From a66fe49e0bedc38eea8ce14ad3949c7e0eb5bb3e Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 14 Oct 2019 11:14:00 +0000 Subject: [PATCH] code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in test/integration/api_test/my_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18652 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - test/integration/api_test/my_test.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2fcf2dc57..a64d14241 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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. diff --git a/test/integration/api_test/my_test.rb b/test/integration/api_test/my_test.rb index 8ea98ad6e..8c70ea9a4 100644 --- a/test/integration/api_test/my_test.rb +++ b/test/integration/api_test/my_test.rb @@ -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 -- 2.39.5