class Capybara::RSpecMatchers::Matchers::MatchStyle
Public Instance Methods
description()
click to toggle source
# File lib/capybara/rspec/matchers/match_style.rb, line 17 def description 'match style' end
does_not_match?(_actual)
click to toggle source
# File lib/capybara/rspec/matchers/match_style.rb, line 13 def does_not_match?(_actual) raise ArgumentError, 'The match_style matcher does not support use with not_to/should_not' end
element_matches?(el)
click to toggle source
# File lib/capybara/rspec/matchers/match_style.rb, line 9 def element_matches?(el) el.assert_matches_style(*@args) end