lib/capybara/rspec/matchers/base.rb in capybara-3.18.0 vs lib/capybara/rspec/matchers/base.rb in capybara-3.19.0
- old
+ new
@@ -46,11 +46,11 @@
false
end
def does_not_match?(actual)
element_does_not_match?(wrap(actual))
- rescue Capybara::ExpectationNotMet => err
- @failure_message_when_negated = err.message
+ rescue Capybara::ExpectationNotMet => e
+ @failure_message_when_negated = e.message
false
end
private