[rspec-devel] Using Behaviours inside Examples
dchelimsky at gmail.com
Thu Jul 19 12:03:28 EDT 2007
On 7/19/07, Bob Cotton <bob.cotton at rallydev.com> wrote:
> "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 don't understand your question. What is the "outer" example?
> I'm seeing it in my spec, but have not been able to create an isolated
> rspec-devel mailing list
> rspec-devel at rubyforge.org
More information about the rspec-devel