0
0
Fork 0

Autofix Rubocop RSpec/ClassCheck (#23685)

This commit is contained in:
Nick Schonning 2023-02-17 21:24:16 -05:00 committed by GitHub
parent 634368c491
commit 54318dcd6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 32 additions and 46 deletions

View file

@ -10,7 +10,7 @@ RSpec.describe Settings::Extend do
describe '#settings' do
it 'sets @settings as an instance of Settings::ScopedSettings' do
user = Fabricate(:user)
expect(user.settings).to be_kind_of Settings::ScopedSettings
expect(user.settings).to be_a Settings::ScopedSettings
end
end
end