Re: [rspec-users] Error testing rails controller

2008-04-26 Thread Jacob
It actually turned out to an invalid syntax in my controller, completely unrelated. Guess thats what I get for not checking my syntax before diving in. On Apr 7, 2:14 pm, "David Chelimsky" <[EMAIL PROTECTED]> wrote: > On Fri, Apr 4, 2008 at 12:46 PM, Jacob <[EMAIL PROTECTED]> wrote: > > I am tryi

Re: [rspec-users] Error testing rails controller

2008-04-07 Thread David Chelimsky
On Fri, Apr 4, 2008 at 12:46 PM, Jacob <[EMAIL PROTECTED]> wrote: > I am trying to test my controllers with RSpec and from the examples I > have found it is as easy as this: > > describe SessionsController do > > it "should render login template" do > get 'new' > response.should render_

[rspec-users] Error testing rails controller

2008-04-07 Thread Jacob
I am trying to test my controllers with RSpec and from the examples I have found it is as easy as this: describe SessionsController do it "should render login template" do get 'new' response.should render_template(:login) end end However both get and post raise "wrong number of arg