blob: 167f594bb922f2fe1e4d45813f09e7023a8f5124 (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
describe 'TracePoint.trace' do
it 'activates the trace automatically' do
trace = TracePoint.trace(:line) {}
trace.should.enabled?
trace.disable
end
end
|