# File lib/capybara/rspec/matchers.rb, line 138 def have_checked_field(locator) HaveMatcher.new(:checked_field, locator) end
# File lib/capybara/rspec/matchers.rb, line 120 def have_content(text) HaveMatcher.new(:content, text.to_s) do |page, matcher| %Q(expected there to be content #{matcher.locator.inspect} in #{page.text.inspect}) end end
# File lib/capybara/rspec/matchers.rb, line 116 def have_css(css, options={}) HaveMatcher.new(:css, css, options) end
# File lib/capybara/rspec/matchers.rb, line 134 def have_field(locator, options={}) HaveMatcher.new(:field, locator, options) end
# File lib/capybara/rspec/matchers.rb, line 126 def have_link(locator, options={}) HaveMatcher.new(:link, locator, options) end
# File lib/capybara/rspec/matchers.rb, line 146 def have_select(locator, options={}) HaveMatcher.new(:select, locator, options) end
# File lib/capybara/rspec/matchers.rb, line 108 def have_selector(*args) HaveSelector.new(*args) end
# File lib/capybara/rspec/matchers.rb, line 150 def have_table(locator, options={}) HaveMatcher.new(:table, locator, options) end
# File lib/capybara/rspec/matchers.rb, line 142 def have_unchecked_field(locator) HaveMatcher.new(:unchecked_field, locator) end
# File lib/capybara/rspec/matchers.rb, line 112 def have_xpath(xpath, options={}) HaveMatcher.new(:xpath, xpath, options) end