Fix new rubocopy warnings

This commit is contained in:
Tom Hughes 2015-08-18 20:57:14 +01:00
parent 7ce77006fa
commit c9d35839be
30 changed files with 173 additions and 102 deletions

View file

@ -385,7 +385,7 @@ class ApiControllerTest < ActionController::TestCase
end
def test_permissions_oauth
@request.env["oauth.token"] = AccessToken.new do |token|
@request.env["oauth.token"] = AccessToken.new do |token|
# Just to test a few
token.allow_read_prefs = true
token.allow_write_api = true