Autofix Rubocop Lint/AmbiguousOperator (#23680)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-02-18 03:22:01 +01:00
1 parent ac59d6f19f
commit 6d42820e5d
4 files changed
+7 -15

No files matched your search

@@ -29,7 +29,7 @@ RSpec.describe Api::V1::SuggestionsController, type: :controller do
json = body_as_json
expect(json.size).to be >= 1
expect(json.map { |i| i[:id] }).to include *[bob, jeff].map { |i| i.id.to_s }
expect(json.map { |i| i[:id] }).to include(*[bob, jeff].map { |i| i.id.to_s })
end
end
end