Since this breaks compatibility the version was changed to 0.3.0. Previously any @before block for some description would be run only once for a whole inner context examples group. Now they will be run once before each inner example. I think this behavior makes more sense after thinking a bit about it.
I don't know when this changed: "The filter class must implement a method with the same name as the filter, so for the before_action filter the class must implement a before method, and so on." http://guides.rubyonrails.org/action_controller_overview.html
The old behavior is still possible if the user override the test runner html to the previous version. But by default now oojspec will run each suite in a separate iframe. Also oojspec.on and oojspec.notify have been introduced to allow for one to listen to custom events.
So that it works in iframes too.
Some changes may be required for existent specs: - code inside 'describe' blocks used to work like 'beforeAll' Now they should be placed inside a beforeAll if that was the intention as the dsl is now eager evaluated so that the progress bar works correctly
No need for patch anymore
- Patch original Buster.js reporter - Also fix a bug where the reported time to complete the suite is wrong: busterjs/buster#228