Skip to content

Commit

Permalink
Disable suggestion of RuboCop extensions and update RSpec describe in…
Browse files Browse the repository at this point in the history
… json_spec.rb
  • Loading branch information
stevieing committed Feb 23, 2024
1 parent 9f78e6f commit f20997c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ require:
- rubocop-rspec
AllCops:
NewCops: enable
SuggestExtensions: false
Exclude:
- db/schema.rb
- db/views_schema.rb
Expand Down
4 changes: 2 additions & 2 deletions spec/resource_tools/json_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

require 'rails_helper'

RSpec.describe ResourceTools::Json::Handler do # rubocop:todo RSpec/FilePath
RSpec.describe 'ResourceTools::Json::Handler' do
let(:json_class) do
Class.new(described_class) do
Class.new(ResourceTools::Json::Handler) do
translate('key' => 'translated')
end
end
Expand Down

0 comments on commit f20997c

Please sign in to comment.