lib/capybara/rspec/matchers.rb in capybara-3.1.1 vs lib/capybara/rspec/matchers.rb in capybara-3.2.0

- old
+ new

@@ -23,17 +23,17 @@ def wrap_matches?(actual) yield(wrap(actual)) rescue Capybara::ExpectationNotMet => e @failure_message = e.message - return false + false end def wrap_does_not_match?(actual) yield(wrap(actual)) rescue Capybara::ExpectationNotMet => e @failure_message_when_negated = e.message - return false + false end def session_query_args if @args.last.is_a? Hash @args.last[:session_options] = session_options