Fix new rubocopy warnings
This commit is contained in:
parent
7ce77006fa
commit
c9d35839be
30 changed files with 173 additions and 102 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue