0
0
Fork 0

Autofix Rubocop RSpec/ReturnFromStub (#23724)

This commit is contained in:
Nick Schonning 2023-02-19 20:32:10 -05:00 committed by GitHub
parent 21bf326356
commit a2fdb388eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 19 deletions

View file

@ -219,7 +219,7 @@ RSpec.describe Api::V1::StatusesController, type: :controller do
context 'without an oauth token' do
before do
allow(controller).to receive(:doorkeeper_token) { nil }
allow(controller).to receive(:doorkeeper_token).and_return(nil)
end
context 'with a private status' do