summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-14 11:14:00 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-14 11:14:00 +0000
commita66fe49e0bedc38eea8ce14ad3949c7e0eb5bb3e (patch)
tree3b2e170114d547b69f9cfa67ddf03c47a56fc646 /test/integration/api_test
parent276674ce392b01feb1b6001e7089c075fc259f77 (diff)
downloadredmine-a66fe49e0bedc38eea8ce14ad3949c7e0eb5bb3e.tar.gz
redmine-a66fe49e0bedc38eea8ce14ad3949c7e0eb5bb3e.zip
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
Diffstat (limited to 'test/integration/api_test')
-rw-r--r--test/integration/api_test/my_test.rb2
1 files changed, 0 insertions, 2 deletions
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