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