Pattern: Missing use of eq
Issue: -
Use eq
instead of be ==
to compare objects.
# bad
# bad
expect(foo).to be == 42
# good
expect(foo).to eq 42
Pattern: Missing use of eq
Issue: -
Use eq
instead of be ==
to compare objects.
# bad
# bad
expect(foo).to be == 42
# good
expect(foo).to eq 42