Hi all, I''m trying to create some view specs using rspec following the example at http://rspec.rubyforge.org/documentation/rails/writing/views.html However, when I put @person = mock("person") @person.stub!(:name).and_return ''Joe'' assign[:person] = @person I get a NameError saying that ''assigns'' is not defined. Similarly, "render ''/people/list'' " gives me a NoMethodError. Any ideas why this might be? Thanks! Daniel --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---