1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-10-14 11:14:00 +00:00
parent 276674ce39
commit a66fe49e0b
2 changed files with 0 additions and 3 deletions

View 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.

View 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