Re: [rspec-users] How to trace running spec

2008-01-14 Thread aslak hellesoy
On Jan 14, 2008 3:47 AM, Kero van Gelder <[EMAIL PROTECTED]> wrote: > > > I have a spec that is hanging when it is running. > > > > > > How do I get the rspec runner to show what specs it's running so I can > > > which one is hanging? I am calling the runner from my rails project. > > > > Which fo

Re: [rspec-users] TextMate bundle not compatible with nested specs for running focused tests?

2008-01-14 Thread Brian Takita
Yes. The fix is coming soon. I'll try to get it out tonight. On Jan 13, 2008 3:49 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On Jan 13, 2008 5:47 PM, Matthew Windwer <[EMAIL PROTECTED]> wrote: > > Seems like the recently updated (and wonderful) textmate bundle does not > > take into accoun

Re: [rspec-users] TextMate bundle not compatible with nested specs for running focused tests?

2008-01-14 Thread Brian Takita
On Jan 14, 2008 9:23 AM, Brian Takita <[EMAIL PROTECTED]> wrote: > Yes. The fix is coming soon. I'll try to get it out tonight. Actually, we are going to do a release. I'll do it after the release. > > > On Jan 13, 2008 3:49 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > > > > On Jan 13, 2008 5:4

Re: [rspec-users] RSpec stories introduction

2008-01-14 Thread Andy Leak
Check out the UserStories video on PeepCode. Cost = $9US - a bargain with your strong currency. Cheers, Andy >I have played a bit with RSpec specs and now want to check out stories. I >note that there is no generator for rspec stories pre se (unless I managed >to miss all references to one ) and

[rspec-users] RSpec stories introduction

2008-01-14 Thread James B. Byrne
I have played a bit with RSpec specs and now want to check out stories. I note that there is no generator for rspec stories pre se (unless I managed to miss all references to one ) and that the only directory relating to stories added by installing rspec is ./stories itself. The documentation at

Re: [rspec-users] .html.erb files and autotest

2008-01-14 Thread Kero van Gelder
> The benefit of doing that is it spots files that you may not have > spec'd that you want spec'd. On the flip side you end up with a bunch > of noise but you can eliminate that w/ the :initialize hook: > > Autotest.add_hook :initialize do |at| > at.add_exception 'some_file_i_want_ignored' > end

Re: [rspec-users] .html.erb files and autotest

2008-01-14 Thread David Chelimsky
On Jan 14, 2008 6:46 PM, Kero van Gelder <[EMAIL PROTECTED]> wrote: > > The benefit of doing that is it spots files that you may not have > > spec'd that you want spec'd. On the flip side you end up with a bunch > > of noise but you can eliminate that w/ the :initialize hook: > > > > Autotest.add_h

Re: [rspec-users] Okay, I'm finally asking for help

2008-01-14 Thread Rick DeNatale
On 1/14/08, Corey Haines <[EMAIL PROTECTED]> wrote: > Hi, all! > > I would love if someone could help me figure this out. I can't seem to see > why the following fails: > > Here's the spec: > it "should redirect back to the index page" do > Coupon.should_receive > (:new).with({"name"=>@expect

Re: [rspec-users] Okay, I'm finally asking for help

2008-01-14 Thread Corey Haines
That was it! Thanks, Rick! Sorry about not posting the failure. DOH! Thanks again, everyone! -Corey On Jan 14, 2008 9:38 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > On 1/14/08, Corey Haines <[EMAIL PROTECTED]> wrote: > > Hi, all! > > > > I would love if someone could help me figure this out.

Re: [rspec-users] Okay, I'm finally asking for help

2008-01-14 Thread Andrew WC Brown
Did your spec failed? Would you paste it? On Jan 14, 2008 9:32 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jan 14, 2008 8:31 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > > Hi, all! > > > > I would love if someone could help me figure this out. I can't seem to > see > > why the following

Re: [rspec-users] Okay, I'm finally asking for help

2008-01-14 Thread David Chelimsky
On Jan 14, 2008 8:31 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > Hi, all! > > I would love if someone could help me figure this out. I can't seem to see > why the following fails: > > Here's the spec: > it "should redirect back to the index page" do > Coupon.should_receive > (:new).with({"n

[rspec-users] Okay, I'm finally asking for help

2008-01-14 Thread Corey Haines
Hi, all! I would love if someone could help me figure this out. I can't seem to see why the following fails: Here's the spec: it "should redirect back to the index page" do Coupon.should_receive (:new).with({"name"=>@expectedName,"amount"=>@expectedAmount}).and_return(@coupon) @coupon.s