Class: RSpec::TagMatchers::HasSelect

Inherits:
HasInput show all
Defined in:
lib/rspec/tag_matchers/has_select.rb

Overview

A matcher that matches <select> tags.

Instance Method Summary collapse

Methods inherited from HasInput

#for, #value

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

#make_sentence

Constructor Details

#initializeHasSelect

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