blob: 92793480269514ca8b51d2b07afbe95c34cfa62d (
plain)
1
2
3
4
5
6
7
8
9
|
require File.expand_path('../../../spec_helper', __FILE__)
describe 'TracePoint.trace' do
it 'activates the trace automatically' do
trace = TracePoint.trace(:call) {}
trace.enabled?.should be_true
trace.disable
end
end
|