Class: RSpec::Raml::Matchers::NullMatcher
- Defined in:
- lib/rspec/raml/matchers/null_matcher.rb
Instance Attribute Summary
Attributes inherited from Abstract
#raml, #response, #status, #url, #verb
Instance Method Summary collapse
- #failure_message ⇒ Object
-
#initialize(verb, url, status) ⇒ NullMatcher
constructor
A new instance of NullMatcher.
Methods inherited from Abstract
Constructor Details
#initialize(verb, url, status) ⇒ NullMatcher
Returns a new instance of NullMatcher.
7 8 9 |
# File 'lib/rspec/raml/matchers/null_matcher.rb', line 7 def initialize(verb, url, status) super(nil, verb, url, status) end |
Instance Method Details
#failure_message ⇒ Object
11 12 13 |
# File 'lib/rspec/raml/matchers/null_matcher.rb', line 11 def "RAML not found. Here's something to get you started:\n\n#{template}" end |