blob: cba7e3f34cffddf3f4edcd4b1f220bd5983275ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require File.expand_path('../../../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe 'Thread::Backtrace::Location#base_label' do
before :each do
@frame = ThreadBacktraceLocationSpecs.locations[0]
end
it 'returns the base label of the call frame' do
@frame.base_label.should == '<top (required)>'
end
end
|