Re: [rspec-users] RSpec Routing DSL

2010-10-19 Thread Joe Fiorini
David: you're right, it's not very rspecish :) There are two changes I made that I wonder if we could see in core are: 1) printing out the path and method in specdoc output 2) setting default scope options per context (not quite working in my example yet) Thoughts? Wincent: I like what you've co

Re: [rspec-users] RSpec Routing DSL

2010-10-19 Thread David Chelimsky
On Oct 19, 2010, at 2:05 AM, Wincent Colaiuta wrote: > El 18/10/2010, a las 20:20, Joe Fiorini escribió: > >> I started testing routes for the first time in Rails 3 this weekend >> during Rails Rumble. I was so exhausted that I found writing route >> specs a very painful task. I came up with my

Re: [rspec-users] RSpec Routing DSL

2010-10-19 Thread Wincent Colaiuta
El 18/10/2010, a las 20:20, Joe Fiorini escribió: > I started testing routes for the first time in Rails 3 this weekend > during Rails Rumble. I was so exhausted that I found writing route > specs a very painful task. I came up with my own routing DSL and I'd > love to see it get included in RSpec

Re: [rspec-users] RSpec Routing DSL

2010-10-18 Thread David Chelimsky
On Oct 18, 2010, at 1:20 PM, Joe Fiorini wrote: > I started testing routes for the first time in Rails 3 this weekend > during Rails Rumble. I was so exhausted that I found writing route > specs a very painful task. I came up with my own routing DSL and I'd > love to see it get included in RSpec i

[rspec-users] RSpec Routing DSL

2010-10-18 Thread Joe Fiorini
I started testing routes for the first time in Rails 3 this weekend during Rails Rumble. I was so exhausted that I found writing route specs a very painful task. I came up with my own routing DSL and I'd love to see it get included in RSpec itself. Before I start adding the code to rspec-rails, I'd