Skip to content

Commit

Permalink
Added naked options matcher.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Anderson committed Nov 8, 2008
1 parent 80bb30f commit 176ab7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/html_matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 176ab7a

Please sign in to comment.