Class: RSpec::TagMatchers::HasSelect
- Defined in:
- lib/rspec/tag_matchers/has_select.rb
Overview
A matcher that matches <select> tags.
Instance Method Summary collapse
-
#initialize ⇒ HasSelect
constructor
Initializes a HasSelect matcher that matches
select
elements.
Methods inherited from HasInput
Methods inherited from HasTag
#description, #failure_message, #matches?, #negative_failure_message, #test_attribute, #with_attribute, #with_content, #with_count, #with_criteria
Methods included from RSpec::TagMatchers::Helpers::SentenceHelper
Constructor Details
#initialize ⇒ HasSelect
Initializes a HasSelect matcher that matches select
elements.
16 17 18 |
# File 'lib/rspec/tag_matchers/has_select.rb', line 16 def initialize super(:select) end |