[rspec-users] Possible improvements to routing spec API

Wincent Colaiuta win at wincent.com
Mon Jul 5 15:31:24 EDT 2010


El 05/07/2010, a las 21:00, Randy Harmon escribió:

> David Chelimsky wrote:
>> Check out these two threads:
>> 
>> http://groups.google.com/group/rspec/browse_thread/thread/9ac4ff6f3bac8423
>> http://groups.google.com/group/rspec/browse_thread/thread/4775eaa9b8b3c25f
>> 
>> Both of them were, coincidentally, started independently and with a day or two of this thread :)
>> 
> I don't think I understand the core of these two problems - nesting
> isn't something I've dealt with much.  Are they both nested issues,
> and/or is there a distinction between the two problems?  It seems to me
> that Rails' own assertions aren't able to test these well because the
> route generation itself is suboptimal.  Or does that characterization
> reveal my lack of understanding?

I have nothing intelligent to say on this just yet, but I have to do some nested routing specs in my current work, so I should be able to spend some time figuring it out tomorrow.

Cheers,
Wincent





More information about the rspec-users mailing list