class ExceptionsTest

  1. test/exceptions_test.rb

Methods

Public Instance

  1. test_profile

Public Instance methods

test_profile ()
[show source]
# File test/exceptions_test.rb, line 5
def test_profile
  result = begin
    RubyProf.profile do
      raise(RuntimeError, 'Test error')
    end
  rescue => e
  end
  assert_not_nil(result)
end