Re: [rspec-users] specifying output of render call

2008-05-05 Thread Pat Maddox
Hey Matt, One problem with rjs is that it's very difficult to test. You can't execute it, and executing code is necessary for specification by example. In this case, I would probably not unit test that code, based on the combination of it being simple code but difficult to test. I would probabl

[rspec-users] specifying output of render call

2008-05-05 Thread Matt McNeil
Hello again, First of all, thanks much for everyone's input on my question last week about spec'ing an invocation of super. Here's another question that seems resistant to my Google searching: With this helper method (defined in a module and included in Rails controllers): def render_rjs_red