class Capybara::RSpecMatchers::HaveStyle
Public Instance Methods
description()
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 228 def description 'have style' end
does_not_match?(_actual)
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 224 def does_not_match?(_actual) raise ArgumentError, 'The have_style matcher does not support use with not_to/should_not' end
matches?(actual)
click to toggle source
# File lib/capybara/rspec/matchers.rb, line 220 def matches?(actual) wrap_matches?(actual) { |el| el.assert_style(*@args) } end