class Capybara::RSpecMatchers::Matchers::HaveTitle
Public Instance Methods
description()
click to toggle source
# File lib/capybara/rspec/matchers/have_title.rb, line 17 def description "have title #{title.inspect}" end
element_does_not_match?(el)
click to toggle source
# File lib/capybara/rspec/matchers/have_title.rb, line 13 def element_does_not_match?(el) el.assert_no_title(*@args) end
element_matches?(el)
click to toggle source
# File lib/capybara/rspec/matchers/have_title.rb, line 9 def element_matches?(el) el.assert_title(*@args) end
Private Instance Methods
title()
click to toggle source
# File lib/capybara/rspec/matchers/have_title.rb, line 23 def title @args.first end