Nested formatter does not follow contexts across files in 2.x
Created by: bhuga
I have a project that has a lot of tests generated from a test suite, ending up as one test per file. The files look like this:
describe 'W3C'
context 'basic' # the same for a set of files in a directory
it 'some test' do
...
end
end
end
In 1.3.0, specified in bundler, the nested formatter figures this out, and displays things nicely:
ben-2:tests ben$ bundle exec spec -cfn spec
W3C test
algebra
Filter-nested - 1
Filter-nested - 2
Filter-placement - 1
Filter-placement - 2
in 2.x, it does not, and each file restarts the nesting:
ben-2:tests ben$ bundle exec rspec -cfn spec
W3C test
algebra
Filter-nested - 1
W3C test
algebra
Filter-nested - 2
W3C test
algebra
Filter-placement - 1
W3C test
algebra
Filter-placement - 2
Am I doing this wrong for 2.x, or is this deprecated, or is it a bug?