Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
searls committed Jan 8, 2024
1 parent 9e885e1 commit cfbf417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/standard/rails_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_that_it_has_a_version_number
].freeze
def test_configures_all_rails_cops
expected = YAML.load_file(Pathname.new(Gem.loaded_specs["rubocop-rails"].full_gem_path).join("config/default.yml")).reject { |name, cop|
["Lint/NumberConversion", "Style/AndOr", "Style/FormatStringToken", "Style/SymbolProc"].include?(name)
["Lint/NumberConversion", "Style/AndOr", "Style/FormatStringToken", "Style/SymbolProc", "Lint/RedundantSafeNavigation", "Style/InvertibleUnlessCondition"].include?(name)
}.to_h
actual = YAML.load_file(BASE_CONFIG)
missing = (expected.keys - actual.keys).grep(/\//) # ignore groups like "Layout"
Expand Down

0 comments on commit cfbf417

Please sign in to comment.