mirror of
https://github.com/lostisland/faraday.git
synced 2025-12-15 00:03:17 -05:00
ok rbx handles NameError differently
This commit is contained in:
parent
df484dfd1a
commit
2793e2ae91
@ -14,7 +14,7 @@ module Middleware
|
||||
begin
|
||||
instrumenter = options.instrumenter
|
||||
rescue NameError => err
|
||||
assert_match 'ActiveSupport', err.name.to_s
|
||||
assert_match 'ActiveSupport', err.to_s
|
||||
else
|
||||
assert_equal ActiveSupport::Notifications, instrumenter
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user