Permalink
Browse files

Added naked options matcher.

  • Loading branch information...
1 parent 80bb30f commit 176ab7a31ad4030a200ef7877b8e211455bd35d0 Stephen Anderson committed Nov 8, 2008
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/html_matchers.rb
View
@@ -20,6 +20,10 @@ def have_dropdown target_id, expected_options
DropDownMatcher.new target_id, expected_options
end
+ def have_options expected_options
+ OptionsMatcher.new expected_options
+ end
+
def have_radio_group target_name, expected_radio_choices
RadioGroupMatcher.new target_name, expected_radio_choices
end

0 comments on commit 176ab7a

Please sign in to comment.