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

Unexpected result with have_tag ... :onclick #52

Closed PhilippePerret closed 7 years ago

PhilippePerret commented 8 years ago

This test fails :

expect(page).to have_tag('a', with: { onclick: "$.proxy(MyClass, 'my_method')()" })

Raises a test error.

randoum commented 7 years ago

@PhilippePerret So you still have the issue ? Please try with 0.9.0 and paste your code and the error message

randoum commented 7 years ago

Feel free to reopen if needed.