Re: [rspec-users] Testing routes with a prefix

2011-03-23 Thread Justin Ko
On Wed, Mar 23, 2011 at 10:16 AM, Radhesh Kamath wrote: > Justin Ko wrote in post #988825: > > On Tue, Mar 22, 2011 at 6:50 PM, Radhesh Kamath > > wrote: > > > >> end > >> > >> rspec-users@rubyforge.org > >> http://rubyforge.org/mailman/listinfo/rspec-users > >> > > > > > > You're mapping absolut

Re: [rspec-users] Testing routes with a prefix

2011-03-23 Thread David Chelimsky
On Wed, Mar 23, 2011 at 12:16 PM, Radhesh Kamath wrote: > Justin Ko wrote in post #988825: >> On Tue, Mar 22, 2011 at 6:50 PM, Radhesh Kamath >> wrote: >> >>>  end >>> >>> rspec-users@rubyforge.org >>> http://rubyforge.org/mailman/listinfo/rspec-users >>> >> >> You're mapping absolute strings (URL

Re: [rspec-users] Testing routes with a prefix

2011-03-23 Thread Radhesh Kamath
Justin Ko wrote in post #988825: > On Tue, Mar 22, 2011 at 6:50 PM, Radhesh Kamath > wrote: > >> end >> >> rspec-users@rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > > > You're mapping absolute strings (URL's) to your routes. Any string > manipulation would dilute the spec

Re: [rspec-users] Testing routes with a prefix

2011-03-23 Thread Pat Maddox
On Mar 22, 2011, at 6:50 PM, Radhesh Kamath wrote: > Hi experts, > > I am trying to test routing in my application, where all routes are > enclosed in a namespace like so: > > scope 'v1' do > resource :blah end >collection do > something >end > end > end > > Is there a clean way

Re: [rspec-users] Testing routes with a prefix

2011-03-23 Thread Justin Ko
On Tue, Mar 22, 2011 at 6:50 PM, Radhesh Kamath wrote: > Hi experts, > > I am trying to test routing in my application, where all routes are > enclosed in a namespace like so: > > scope 'v1' do > resource :blah end >collection do > something >end > end > end > > Is there a clean way