class Capybara::RSpecMatchers::HaveTitle
Public Instance Methods
description()
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 159 def description "have title #{title.inspect}" end
does_not_match?(actual)
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 155 def does_not_match?(actual) wrap_does_not_match?(actual) { |el| el.assert_no_title(*@args) } end
matches?(actual)
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 151 def matches?(actual) wrap_matches?(actual) { |el| el.assert_title(*@args) } end
Private Instance Methods
title()
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 165 def title @args.first end