Skip to content

Commit 6ea206e

Browse files
authored
Merge pull request #197 from EasyPost/fix_error_test
fix: error test assertion
2 parents e69a046 + 80c9871 commit 6ea206e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/error_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
)
2828

2929
# Compare an error and its properties to another error
30-
# rubocop:disable Lint/BinaryOperatorWithIdenticalOperands
31-
expect(e == e).to be true
32-
# rubocop:enable Lint/BinaryOperatorWithIdenticalOperands
30+
expect(e).to eq(e.clone)
3331
end
3432
end
3533
end

0 commit comments

Comments
 (0)