Frederick Cheung wrote in post #983169:
> On Feb 21, 3:39am, Jeremy Woertink <[email protected]> wrote:
>> Same thing happens if I call the full path to that partial.
> rspec should realise that the code under test is a helper is the spec
> is in spec/helpers (and so should add the required stuff to the test
> environment that allows you to call actionviewy stuff.
>
> Fred

I'm sorry, I don't quite understand. Are you saying I should require all 
the ActionView stuff in my test? That might make the test pass, but when 
I go to use the actual gem in development, it would fail, wouldn't it?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to