Re: [rspec-users] Understanding routing specs that use constraints

2010-10-28 Thread David Chelimsky
On Oct 27, 2010, at 2:49 PM, Joseph DelCioppio wrote: > Hello all, > > I'm trying to perform a pretty simple routing constraint > > Here are my routes, my constraint, and my spec. http://gist.github.com/649430 > > As you can see, I've attempted to stub my RootConstraints.matches? > method to ju

[rspec-users] Understanding routing specs that use constraints

2010-10-28 Thread Joseph DelCioppio
Hello all, I'm trying to perform a pretty simple routing constraint Here are my routes, my constraint, and my spec. http://gist.github.com/649430 As you can see, I've attempted to stub my RootConstraints.matches? method to just return true or false. However, this doesn't seem to work correctly.