[rspec-users] active_scaffold partials

2007-08-15 Thread Jonathan Linowes
An issue I've run into is with a controller using the active_scaffold plugin, which injects a method that modifies the search path for partial files. When I try to run a spec on a a_s partial it reports the file cannot be found. I think this is the a_s code that does it but I'm not sure

[rspec-users] Extra Options to Heckle

2007-08-15 Thread Scott Taylor
I've tried running Heckle with rspec on some of my classes, but keep getting (what I believe to be) an infinite recursion. Is there some way to supply extra options to heckle via. rspec? Scott ___ rspec-users mailing list

[rspec-users] ActsAsList specs

2007-08-15 Thread Steve Tooke
Hi, How are people specifying models which act_as_list? I'm thinking that it would be possible to check that acts_as_list instance methods have been added to a class using something like this: describe Page, acts_as_list do it should act as a list do Page.ancestors.should

Re: [rspec-users] Extra Options to Heckle

2007-08-15 Thread aslak hellesoy
On 8/15/07, Scott Taylor [EMAIL PROTECTED] wrote: I've tried running Heckle with rspec on some of my classes, but keep getting (what I believe to be) an infinite recursion. Is there some way to supply extra options to heckle via. rspec? Currently not. What options do you want to supply?

Re: [rspec-users] Extra Options to Heckle

2007-08-15 Thread Scott Taylor
On Aug 15, 2007, at 7:57 AM, aslak hellesoy wrote: On 8/15/07, Scott Taylor [EMAIL PROTECTED] wrote: I've tried running Heckle with rspec on some of my classes, but keep getting (what I believe to be) an infinite recursion. Is there some way to supply extra options to heckle via. rspec?

Re: [rspec-users] Extra Options to Heckle

2007-08-15 Thread Scott Taylor
On Aug 15, 2007, at 8:11 AM, Scott Taylor wrote: On Aug 15, 2007, at 7:57 AM, aslak hellesoy wrote: On 8/15/07, Scott Taylor [EMAIL PROTECTED] wrote: I've tried running Heckle with rspec on some of my classes, but keep getting (what I believe to be) an infinite recursion. Is there some

Re: [rspec-users] nuby: how spec redirect_to at ApplicationController

2007-08-15 Thread David Chelimsky
On 8/15/07, Courtenay [EMAIL PROTECTED] wrote: On 8/15/07, Priit Tamboom [EMAIL PROTECTED] wrote: describe ApplicationController do it method login_required should redirect to home path without login do heh. it is so out of place here :) I agree. The goal is to describe behaviours of

Re: [rspec-users] expect_render, why does there need to be a warning

2007-08-15 Thread Zach Dennis
On 8/15/07, David Chelimsky [EMAIL PROTECTED] wrote: On 8/15/07, Zach Dennis [EMAIL PROTECTED] wrote: On 8/14/07, David Chelimsky [EMAIL PROTECTED] wrote: On 8/14/07, Zach Dennis [EMAIL PROTECTED] wrote: On 8/14/07, David Chelimsky [EMAIL PROTECTED] wrote: On 8/14/07, Zach Dennis