Auto correct rubocop style issues
This commit is contained in:
parent
f260e607bf
commit
7e8c1d041d
39 changed files with 115 additions and 199 deletions
|
|
@ -7,6 +7,7 @@ module ApiOAuth
|
|||
let(:api_scopes) { [] } # empty scopes for stricter testing (in reality this would be default_scopes)
|
||||
let(:api_access_token) { double(:acceptable? => true, :accessible? => true, scopes: api_scopes) }
|
||||
before { allow(controller).to receive(:doorkeeper_token) { api_access_token } }
|
||||
|
||||
before { allow(controller).to receive(:current_user) { user } }
|
||||
|
||||
let(:json_response) { JSON.parse(response.body) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue