about summary refs log tree commit diff
path: root/spec/lib
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-17 21:24:16 -0500
committerGitHub <noreply@github.com>2023-02-18 03:24:16 +0100
commit54318dcd6d4a22a24c5d8afb7c950bed43df3964 (patch)
tree590b3bfa99665d82389d54beaf9f3514a7ab3da2 /spec/lib
parent634368c491c8e89d93b54dd2dc170f0873beafcb (diff)
Autofix Rubocop RSpec/ClassCheck (#23685)
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/settings/extend_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/settings/extend_spec.rb b/spec/lib/settings/extend_spec.rb
index 83ced4230..ea623137b 100644
--- a/spec/lib/settings/extend_spec.rb
+++ b/spec/lib/settings/extend_spec.rb
@@ -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