On Oct 19, 2010, at 4:11 PM, Matthew Van Horn wrote: > I also ran into this today. Not sure where the "contain" matcher is, looked > in rspec-rails and rspec-expectations, but came up empty. > (Rails 3.0.0 / Rspec 2.0.0)
Webrat and Capybara each have a contain() matcher. Trick is that Capybara matchers are not available in view specs, so for those you've gotta use Webrat (if you want contain()). > -- matt > > On Oct 18, 2010, at 5:53 PM, Stephen Veit wrote: > >> >> On Oct 18, 3:41 pm, David Chelimsky <dchelim...@gmail.com> wrote: >>> On Oct 18, 2010, at 3:27 PM, Stephen Veit wrote: >>> >>>> Using Rails 2 and rspec-rails 2.0.1. >>> >>> rspec-rails-2 does not support rails-2. Please use rspec-rails-1.3.3 for >>> rails-2. >>> >>> HTH, >>> David >>> >>> _______________________________________________ >>> rspec-users mailing list >>> rspec-us...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users >> >> >> I meant to type "Rails 3". >> >> I am using Rails 3 and rspec-rails 2.0.1. >> _______________________________________________ >> rspec-users mailing list >> rspec-users@rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users