Skip to content

Rails plugin with RSpec matchers at a higher level of abstraction for testing HTML content. Tested. Requires hpricot.

License

Notifications You must be signed in to change notification settings

bendycode/html_matchers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rails plugin with RSpec matchers at a higher level of abstraction for testing HTML content. Tested. Requires hpricot.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages