spec/watirspec/support/raise_exception_matchers.rb in watir-6.0.3 vs spec/watirspec/support/raise_exception_matchers.rb in watir-6.1.0
- old
+ new
@@ -2,10 +2,11 @@
TIMING_EXCEPTIONS = {
raise_unknown_object_exception: Watir::Exception::UnknownObjectException,
raise_no_matching_window_exception: Watir::Exception::NoMatchingWindowFoundException,
raise_unknown_frame_exception: Watir::Exception::UnknownFrameException,
raise_object_disabled_exception: Watir::Exception::ObjectDisabledException,
- raise_object_read_only_exception: Watir::Exception::ObjectReadOnlyException
+ raise_object_read_only_exception: Watir::Exception::ObjectReadOnlyException,
+ raise_no_value_found_exception: Watir::Exception::NoValueFoundException
}.freeze
TIMING_EXCEPTIONS.each do |matcher, exception|
RSpec::Matchers.define matcher do |_expected|
match do |actual|