RubyGems.org

rspec_hpricot_matchers provides an implementation of rspec_on_rails' have_tag() matcher which does not depend on Rails' assert_select. Using Hpricot instead, the matcher is available to non-Rails projects, and enjoys the full flexibility of Hpricot's advanced CSS and XPath selector support.

installgem install rspec_hpricot_matchers
Authors

Kyle Hargraves

5,113 total downloads 5,108 for this version
Owners

2c557578739a5b08df54a4a8bbcc4837

Gemfile
gem "rspec_hpricot_matchers", "~> 1.0"
Versions
  1. 1.0 March 26, 2008