Skip to content

Commit

Permalink
Explicitly specify the config
Browse files Browse the repository at this point in the history
rubocop/rubocop#7970 in RuboCop 0.84
mixes in the default config, which changes the config options from
"defult" (missing) `false` to actual `true` from config/defaults.yml
  • Loading branch information
pirj authored and palkan committed May 28, 2020
1 parent 88ba58a commit 4d6a1d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/test_prof/cops/rspec/aggregate_examples_spec.rb
Expand Up @@ -6,6 +6,10 @@
RSpec.describe RuboCop::Cop::RSpec::AggregateExamples, :config do
subject(:cop) { described_class.new(config) }

let(:cop_config) do
{"AddAggregateFailuresMetadata" => false}
end

shared_examples "flags in example group" do |group|
it "flags examples in '#{group}'" do
expect_offense(<<~RUBY)
Expand Down

0 comments on commit 4d6a1d0

Please sign in to comment.