From 2bbb78e64b940d58d3d4860257651bfe01d1650d Mon Sep 17 00:00:00 2001 From: David Roetzel Date: Wed, 11 Sep 2024 12:01:21 +0200 Subject: [PATCH] Fix spec syntax --- spec/lib/admin/db/schema_parser_spec.rb | 2 +- spec/lib/admin/system_check/missing_indexes_check_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/admin/db/schema_parser_spec.rb b/spec/lib/admin/db/schema_parser_spec.rb index e28d5c1f979..1b0af701cbe 100644 --- a/spec/lib/admin/db/schema_parser_spec.rb +++ b/spec/lib/admin/db/schema_parser_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -describe Admin::Db::SchemaParser do +RSpec.describe Admin::Db::SchemaParser do let(:dummy_schema) do <<~SCHEMA # Comment diff --git a/spec/lib/admin/system_check/missing_indexes_check_spec.rb b/spec/lib/admin/system_check/missing_indexes_check_spec.rb index e183be56200..8eb2f699fa4 100644 --- a/spec/lib/admin/system_check/missing_indexes_check_spec.rb +++ b/spec/lib/admin/system_check/missing_indexes_check_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -describe Admin::SystemCheck::MissingIndexesCheck do +RSpec.describe Admin::SystemCheck::MissingIndexesCheck do subject(:check) { described_class.new(user) } let(:user) { Fabricate(:user) }