Re: [rspec-users] View spec'ing style

2008-01-13 Thread Corey Haines
I don't have a lot of experience yet with the view spec'ing, but I do have the first way I will start: Spec a view from the outermost level and Treat extracted partials as a hybrid of "Extract Method" and "Extract Class" This means that I would spec out the top-most view, extract a partial to remo

[rspec-users] View spec'ing style

2008-01-13 Thread Kevin Olbrich
I've been getting my head around view spec'ing lately for a fairly complex project that makes heavy use of partials in views and I have hit up against a style puzzle. I see two strategies for spec'ing views: First: Develop detailed specs for each partial and then make sure that the final view e