Class: Capybara::RSpecMatchers::Matchers::HaveStyle Deprecated

Inherits:
MatchStyle show all
Defined in:
lib/capybara/rspec/matchers/match_style.rb

Overview

Deprecated.

Instance Attribute Summary

Attributes inherited from Base

#failure_message, #failure_message_when_negated

Instance Method Summary collapse

Methods inherited from MatchStyle

#description, #does_not_match?, #element_matches?

Methods inherited from WrappedElementMatcher

#does_not_match?, #matches?

Methods included from Compound

#and, #and_then, #or

Constructor Details

#initialize(*args, &filter_block) ⇒ HaveStyle


31
32
33
34
# File 'lib/capybara/rspec/matchers/match_style.rb', line 31

def initialize(*args, &filter_block)
  warn 'HaveStyle matcher is deprecated, please use the MatchStyle matcher instead'
  super
end