[rspec-devel] Using Behaviours inside Examples
Bob Cotton
bob.cotton at rallydev.com
Thu Jul 19 11:43:03 EDT 2007
"David Chelimsky" <dchelimsky at gmail.com> writes:
> dump_summary is never getting called when you run a single behaviour
> (i.e. tell that behaviour to run). dump_summary is called from the
> BehaviourRunner.
>
> What you can do is call @reporter.dump and that would do it.
Cool, thanks.
One more question, if I'm using mocks in the "outer" Example, will
calling Behaviour#run reset them?
I'm seeing it in my spec, but have not been able to create an isolated
spec.
-Bob
More information about the rspec-devel
mailing list