blob: ea6c85bcc557621bfee54384decedd77b3433e7f (
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(:line) {}
trace.enabled?.should == true
trace.disable
end
end
|