Skip to content
Rails plugin with RSpec matchers at a higher level of abstraction for testing HTML content. Tested. Requires hpricot.
Ruby
Find file
Pull request Compare This branch is 4 commits ahead, 4 commits behind bendycode:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
tasks
.gitignore
MIT-LICENSE
README
Rakefile
VERSION
init.rb
install.rb
uninstall.rb

README

HtmlMatchers
============

This Rails plugin provides a layer of abstraction on top of Rspec for testing
HTML contents.

It depends on Rspec and Hpricot: rspec, and rspec-rails because enhancing them
is the whole point of this plugin, and Hpricot because I find it so much more
capable, and faster than the assert_select that is built into Rails.

Using from Cucumber
===================

Add require 'cucumber/rails/rspec' to features/support/env.rb.

This is important, so that rspec matchers are in play.


Example
=======

Example goes here.


Copyright (c) 2008 [name of plugin creator], released under the MIT license
Something went wrong with that request. Please try again.