if i have rspec like this
describe 'Foo' do
// init go here
describe 'Sub-Foo' do
it "should Bar" do
// test go here
// puts ... <-- need "Foo.Sub-Foo should Bar" here
end
end
end
How can i get "Foo.Sub-Foo should Bar" inside the test context at // test go here?
It is similar to format with specdocs, but how to get it inside itself?