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
8 changed files with 32 additions and 46 deletions

View File

@ -127,7 +127,7 @@ RSpec.describe UserRole, type: :model do
subject { described_class.everyone }
it 'returns a role' do
expect(subject).to be_kind_of(described_class)
expect(subject).to be_a(described_class)
end
it 'is identified as the everyone role' do
@ -147,7 +147,7 @@ RSpec.describe UserRole, type: :model do
subject { described_class.nobody }
it 'returns a role' do
expect(subject).to be_kind_of(described_class)
expect(subject).to be_a(described_class)
end
it 'is identified as the nobody role' do