class Capybara::RSpecMatchers::HaveTitle
Public Instance Methods
description()
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 160 def description "have title #{title.inspect}" end
does_not_match?(actual)
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 156 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 152 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 166 def title @args.first end