How do I write a spec to verify the rendering of partials?
I'm using rr (the mocking framework) and rspec with ruby-on-rails. Also, I'm using the collection short hand for partial rendering. My question: How do I correctly fill out the the following view spec? describe 'my_view' do before(:each) do assigns[:models] = Array.new(10, stub(Model)) end it "should render the 'listing' part...