On Sat, Nov 7, 2009 at 16:08, Eloy Duran <[email protected]> wrote:

>
> You shouldn't need to instantiate a view yourself anymore. The test case
> will set this up for you when render is called and assign the test case
> instance variables to it. The theory is that you should be able to work with
> it as from a controller.
>

Hey Eloy,

I'm not using rspec-rails, just rspec and I don't inherit all the
*::TestCase goodness from Rails. Now, it's not hard to render your own
template manually, and I'm not having problem with that, I just noticed how
previously you could add stuff to `assigns` hash and now you can't — well,
you can but it has no effect.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to