Class: CapybaraMiniTestSpec::PositiveTestName
- Inherits:
-
TestName
- Object
- TestName
- CapybaraMiniTestSpec::PositiveTestName
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
30
31
32
|
# File 'lib/capybara_minitest_spec/test_name.rb', line 30
def assertion_name
"assert_page_#{has}"
end
|
#expectation_name ⇒ Object
34
35
36
|
# File 'lib/capybara_minitest_spec/test_name.rb', line 34
def expectation_name
"must_#{have}"
end
|
#failure_message_method ⇒ Object
42
43
44
|
# File 'lib/capybara_minitest_spec/test_name.rb', line 42
def failure_message_method
:failure_message_for_should
end
|
#match_method ⇒ Object
38
39
40
|
# File 'lib/capybara_minitest_spec/test_name.rb', line 38
def match_method
:matches?
end
|