summaryrefslogtreecommitdiff
path: root/spec/ruby/core/tracepoint/inspect_spec.rb
blob: 3902872ab5e5cb9fd8532c0f04c9531e01ecc514 (plain)
1
2
3
4
5
6
7
8
require File.expand_path('../../../spec_helper', __FILE__)

describe 'TracePoint#inspect' do
  it 'returns a string containing a human-readable TracePoint status' do
    TracePoint.new(:call) {}.inspect.should ==
      '#<TracePoint:disabled>'
  end
end