lib/honeydew/device_matchers.rb in honeydew-0.27.4 vs lib/honeydew/device_matchers.rb in honeydew-0.28.0
- old
+ new
@@ -7,9 +7,13 @@
def has_text?(text)
perform_assertion :is_text_present, :text => text
end
+ def has_regex_match?(regex)
+ perform_assertion :is_regex_match_present, :regex => regex
+ end
+
def has_element_with_description?(description)
perform_assertion :is_text_present, :description => description
end
def has_edit_text?(text)