[rspec-users] Stubbing through multiple layers

2010-01-08 Thread DeNigris Sean
Hi list, I'm writing an example for a class that represents the "pickaxe" e-book, which I view in Preview.app: describe PickaxeBook do ... it "should tell whether it's ready to read" do preview = stub('preview') preview.stub!(:**this is what I'm not su

Re: [rspec-users] How call a method/something after ALL specs?

2010-01-08 Thread David Chelimsky
On Fri, Jan 8, 2010 at 7:24 AM, mix wrote: > hi, is there a way to call a method/print something after ALL the > specs are run ? (with all, i mean all, after all the spec files, just > before the rspec output which say how many spec have passed).. > > i want to print some text telling which is th

[rspec-users] How call a method/something after ALL specs?

2010-01-08 Thread mix
hi, is there a way to call a method/print something after ALL the specs are run ? (with all, i mean all, after all the spec files, just before the rspec output which say how many spec have passed).. i want to print some text telling which is the average response time and which is the action which