0
0
Fork 0

Autofix Rubocop Lint/AmbiguousOperator (#23680)

This commit is contained in:
Nick Schonning 2023-02-17 21:22:01 -05:00 committed by GitHub
parent ac59d6f19f
commit 6d42820e5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 15 deletions

View file

@ -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