Now, when you hit CTRL-C: - any subsequent examples in the current group return immediately without running or reporting - after(:all) hooks in that group are run - any subsequent example groups are removed from the global list of groups to run - after(:all) hooks in parent groups (if INT was received while a nested group was running) are run - after(:suite) hooks are run - standard reporting ensues
- ensures that included modules that manipulate metadata do so before subsequent modules are processed, allowing earlier modules to effect the outcome of whether or not to include subsequent modules - same for extended modules
…with_args. This allows parameterized shared example groups to be used on ruby 1.8.6.
We don't want to expose instance_exec as a public API; it's just for RSpec's internal use. I also added some guard conditionals to the implementation so that we only use the 1.8.6 instance_exec hack if it's really necessary.
- original implementation by Stephen Touset - Closes #90.
- cleanly supports passing a block or not - does not support using super when replacing behaviour within the group
…ehave_like to call their base implementation using super.
…ethods and use the RSpec DSL for a particular instance of the shared example group.