kucaahbe / rspec-html-matchers

Old school have_tag, with_tag(and more) matchers for rspec 3 (Nokogiri powered)
http://rubygems.org/gems/rspec-html-matchers
MIT License
199 stars 90 forks source link

Backward compatibility for have_tag with String argument #12

Closed cemeng closed 12 years ago

cemeng commented 12 years ago

In previous version of Rspec, the following syntax is supported: with_tag "div", "sample text"

This pull request will provide the same functionality as above.

kucaahbe commented 12 years ago

thank you!