Class: Capybara::Minitest::Assertions::MatcherRefutation
Overview
Represents a refutation based on a Capybara RSpec matcher.
Instance Attribute Summary
#matcher
Class Method Summary
collapse
#initialize, #name, #test
Class Method Details
.matcher_failure_message_method ⇒ Object
119
120
121
|
# File 'lib/capybara/minitest/assertions/matcher.rb', line 119
def self.matcher_failure_message_method
:failure_message_when_negated
end
|
.matcher_test_method ⇒ Object
115
116
117
|
# File 'lib/capybara/minitest/assertions/matcher.rb', line 115
def self.matcher_test_method
:does_not_match?
end
|
.name_prefix ⇒ Object
111
112
113
|
# File 'lib/capybara/minitest/assertions/matcher.rb', line 111
def self.name_prefix
'refute'
end
|