Class: RSpec2MiniTest::NegativeTestName
- Inherits:
-
TestName
- Object
- TestName
- RSpec2MiniTest::NegativeTestName
show all
- Defined in:
- lib/rspec2minitest/test_name.rb
Instance Method Summary
collapse
Methods inherited from TestName
#initialize, #matcher
Instance Method Details
#assertion_name ⇒ Object
40
41
42
|
# File 'lib/rspec2minitest/test_name.rb', line 40
def assertion_name
"refute_#{@assertion_prefix && "#{@assertion_prefix}_" || ''}#{has}"
end
|
#expectation_name ⇒ Object
44
45
46
|
# File 'lib/rspec2minitest/test_name.rb', line 44
def expectation_name
"wont_#{@matcher_name}"
end
|
#failure_message_method ⇒ Object
52
53
54
|
# File 'lib/rspec2minitest/test_name.rb', line 52
def failure_message_method
:failure_message_for_should_not
end
|
#match_method ⇒ Object
48
49
50
|
# File 'lib/rspec2minitest/test_name.rb', line 48
def match_method
:does_not_match?
end
|