Re: [rspec-users] RSpec Routing DSL

2010-10-19 Thread Joe Fiorini
hat you've come up with. Much more rspecish than mine. Doesn't seem too different from what's in rspec-rails 2.0. On Oct 19, 3: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 th

[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

Re: [rspec-users] Testing Plugins + Lib Code

2008-04-07 Thread Joe Fiorini
Thanks for this! I came across your message while writing my first plugin. You allowed me to take 20 lines of lib code and turn it into a fully tested plugin in 30 minutes! Thanks man! Joe On Mar 3, 2008, at 7:46 PM, Pat Maddox wrote: > On Mon, Mar 3, 2008 at 3:17 PM, Mark Dodwell <[EMAIL

[rspec-users] Using Haml for view tests

2008-04-07 Thread Joe Fiorini
I'm writing a view test and I render index.html.haml. However, autotest does not pick up changes to this file, but more importantly, when the tests do run I get my Haml source displayed in the "actual" result, instead of rendered Html. Does rspec support Haml in this way? Is there anothe