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

7,455 total downloads 7,450 for this version
Owners

B8706f4f5ae02fff926bfc38d415e478

Gemfile
gem 'rspec_hpricot_matchers', '~> 1.0'
Versions
  1. 1.0 March 26, 2008 (8 KB)