Autofix Rubocop RSpec/ReturnFromStub (#23724)
This commit is contained in:
		@@ -86,7 +86,7 @@ describe Api::V1::Accounts::CredentialsController 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
 | 
			
		||||
 | 
			
		||||
    describe 'GET #show' do
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user