[rspec-users] render_to_string in a controller test?

2008-02-18 Thread EAW
Hi all, I know that in general, view and controller tests should be isolated, such that controller specs don't test views etc. However, I think I've run into a situation that might be an exception. My controller uses render_to_string to produce a chunk of HTML that it passes to a model to

[rspec-users] description method and test failures

2008-05-13 Thread EAW
Hi all, Hoping you can help. I have a project using rspec 1.1.3 and rails 2.0.2. I've run into a small problem. Said project has a method in application_helper.rb named "description". Whenever a spec test fails, I see a message like so: *snip*/vendor/plugins/rspec/lib/spec/runner/repo

Re: [rspec-users] description method and test failures

2008-05-14 Thread EAW
, 2008 at 1:17 AM, EAW <[EMAIL PROTECTED]> wrote: Hi all, Hoping you can help. I have a project using rspec 1.1.3 and rails 2.0.2. I've run into a small problem. Said project has a method in application_helper.rb named "description". Whenever a spec test fails, I