Sorry about that :( And thanks, Ashley, for righting (and writing) my
wrong.
Cheers,
David
On Oct 28, 2009, at 4:06 PM, Student wrote:
Sweet! Thanks!
On Oct 28, 3:52 pm, Ashley Moran <ashley.mo...@patchspace.co.uk>
wrote:
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
end
end
And I had no idea you could do before/after :suite...
Ashley
--http://www.patchspace.co.uk/http://www.linkedin.com/in/ashleymoranhttp://aviewfromafar.net/
_______________________________________________
rspec-users mailing list
rspec-us...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/
rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Cheers,
David
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users