[rspec-users] RailsStory - lessons learned

Alvin Schur a.schur at nucleus.com
Tue Oct 16 18:56:30 EDT 2007


Thanks!

A usable stack trace now shows up in the console.

Alvin.

Ben Mabey wrote:
> This might help:
> http://www.dcmanges.com/blog/debugging-rails-integration-tests
> -Ben
>
> Alvin Schur wrote:
>   
>> After trying RailsStory for a few days, I have learned:
>>
>> 1. Rails testing support does not serve up static pages
>>
>> 2. RailsStory masks errors generated by the app under test
>>
>> 3. The masked errors are available in log/test
>>
>> 4. I should read log/test more often
>>
>>
>> See http://pastie.caboo.se/107876 for an example for points 2 and 3
>>
>> The welcome controller fails when the HTTP_USER_AGENT is missing.
>>
>> This error shows up in log/test but I do not know how to display the 
>> error from within RailsStory.
>>
>> Alvin.
>>     



More information about the rspec-users mailing list