[rspec-users] at_exit in spec file?
blogger at pierian-spring.net
Wed Oct 28 17:06:33 EDT 2009
On Oct 28, 3:52 pm, Ashley Moran <ashley.mo... at patchspace.co.uk>
> On 28 Oct 2009, at 20:42, Student wrote:
> > So now I'm
> > back to the "undefined method `after' for main:Object (NoMethodError)"
> > problem.
> I think it was just a typo on David's part. Does the following work?
> Spec::Runner.configure do |config|
> config.after(:suite) do
> # shut stuff down here
> And I had no idea you could do before/after :suite...
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users