mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +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:
parent
276674ce39
commit
a66fe49e0b
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user