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 t
On May 8, 2008, at 5:26 PM, Mark Wilden wrote:
A controller I'm trying to test simply delivers a text string to the
client, which then demarshalls it to retrieve some objects. I want
to test that the returned string is correct.
I don't want to compare the string character-by-character with
A controller I'm trying to test simply delivers a text string to the
client, which then demarshalls it to retrieve some objects. I want to
test that the returned string is correct.
I don't want to compare the string character-by-character with
response.has_text because that ties me to the i