Re: [rspec-users] undefined method `route_for

2009-12-13 Thread Amit Kulkarni
Thanks David. Also i am little bit confused regarding routes. Consider a routing example it "should map { :controller => 'channels', :action => 'new' } to /channels/new" do route_for(:controller => "channels", :action => "new").should == "/channels/new" end Now i can see all the routing meth

Re: [rspec-users] Problem with Before Filters

2009-12-13 Thread Amit Kulkarni
Thanks David, Now in spec when i write login_as :admin then there must be some method written for login_as? Now if there are before filters in controller then do we need to write each and every method or it is indeed taken care of but the developer and we need to just have to pass the value for

Re: [rspec-users] Example vs ExampleProxy

2009-12-13 Thread David Chelimsky
On Sun, Dec 13, 2009 at 2:58 PM, Sean Grove wrote: > Hey all, > > I'm working on bring DeepTest up to compatibility with rspec 1.2.9 in order > to parallelize tests, and hit a few roadblocks after 1.1.12. Specifically, I > was wondering about ExampleProxy (which I know now is for the custom > form

[rspec-users] Example vs ExampleProxy

2009-12-13 Thread Sean Grove
Hey all, I'm working on bring DeepTest up to compatibility with rspec 1.2.9 in order to parallelize tests, and hit a few roadblocks after 1.1.12. Specifically, I was wondering about ExampleProxy (which I know now is for the custom formatter) vs Example. Previously I would call run() on an