[rspec-users] Testing render :text without has_text
mwilden at twistage.com
Thu May 8 19:43:11 EDT 2008
On May 8, 2008, at 3:38 PM, David Chelimsky wrote:
>> I need RSpec to give me the complete text string that's rendered by
>> the controller.
>> Try this:
> Marshal.load(response.body).should == reports
Dang! I dumped response.methods and tried everything that looked
likely, but I guess I missed that one. Thanks!
Just to preserve my sanity in the future, is there a place where this
More information about the rspec-users