Class: CapybaraMiniTestSpec::NegativeTestName
- Inherits:
-
TestName
- Object
- TestName
- CapybaraMiniTestSpec::NegativeTestName
show all
- Defined in:
- lib/capybara_minitest_spec/test_name.rb
Instance Method Summary
collapse
Methods inherited from TestName
#initialize, #matcher
Instance Method Details
#assertion_name ⇒ Object
50
51
52
|
# File 'lib/capybara_minitest_spec/test_name.rb', line 50
def assertion_name
"refute_page_#{has}"
end
|
#expectation_name ⇒ Object
54
55
56
|
# File 'lib/capybara_minitest_spec/test_name.rb', line 54
def expectation_name
"wont_#{have}"
end
|
#failure_message_method ⇒ Object
58
59
60
|
# File 'lib/capybara_minitest_spec/test_name.rb', line 58
def failure_message_method
:failure_message_for_should_not
end
|
#match_method ⇒ Object
62
63
64
|
# File 'lib/capybara_minitest_spec/test_name.rb', line 62
def match_method
:does_not_match?
end
|