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

have_tag not available in the latest version `0.7.0` #34

Closed nafaabout closed 9 years ago

nafaabout commented 9 years ago

I get this error with the latest version 0.7.0, but it does not show up with the previous version 0.6.1

   Failure/Error: expect(page).to have_tag('a', text: article.author_name, with:{ href:                   author_path(article.author)})
    expected #<Capybara::Session:0x00000005fc5d78> to respond to `has_tag?`
kucaahbe commented 9 years ago

Probably duplicate of #33 this should help