Permalink
Browse files

ok rbx handles NameError differently

  • Loading branch information...
1 parent df484df commit 2793e2ae91213a63dee779e41b7350acff9e4970 @technoweenie committed Jan 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/middleware/instrumentation_test.rb
@@ -14,7 +14,7 @@ def test_default_instrumenter
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

0 comments on commit 2793e2a

Please sign in to comment.