0
0
Fork 0

Autofix Rubocop RSpec/BeNil (#23653)

This commit is contained in:
Nick Schonning 2023-02-17 07:45:27 -05:00 committed by GitHub
parent 936204b9ea
commit 68b1071f86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 22 additions and 41 deletions

View file

@ -28,7 +28,7 @@ RSpec.describe Api::V1::AppsController, type: :controller do
end
it 'creates an OAuth app' do
expect(Doorkeeper::Application.find_by(name: client_name)).to_not be nil
expect(Doorkeeper::Application.find_by(name: client_name)).to_not be_nil
end
it 'returns client ID and client secret' do