We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a557972 commit 621cdd7Copy full SHA for 621cdd7
spec/better_errors/exception_hint_spec.rb
@@ -43,8 +43,9 @@
43
let(:val) { 42 }
44
45
it {
46
- is_expected.to eq("`foo` is being called on a `Integer` object"\
47
- ", which might not be the type of object you were expecting.")
+ is_expected.to match(
+ /`foo` is being called on a `(Integer|Fixnum)` object, which might not be the type of object you were expecting./
48
+ )
49
}
50
end
51
0 commit comments