Found the problem. Was not calling integrate_views at the start of the describe block.
Chris Sepic wrote: > I'm having the same problem. Did you ever solve this? I'm using Rails > 1.2.6 - I recently ran a conversion plugin to convert my Test::Unit > tests to Rspec. Everything is working fine except this - response.body > just returns the template name. > > Test::Unit: > xhr(:post, :add_to_cart_xhr, ...) > assert_match(/Quantity is not a number/, @response.body) # <--passes > > Rspec > xhr(:post, :add_to_cart_xhr, ...) > response.body.should match(/Quantity is not a number/) #<--fails -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users