Module: Webspicy::Specification::Pre
- Includes:
- Condition
- Included in:
- Web::Specification::Pre
- Defined in:
- lib/webspicy/web/openapi/ext.rb,
lib/webspicy/specification/pre.rb
Constant Summary
Constants included from Condition
Instance Attribute Summary
Attributes included from Condition
#matching_description, #tester
Instance Method Summary collapse
- #contribute_to_openapi_verb(verb_defn) ⇒ Object
-
#counterexamples(service) ⇒ Object
Provide counterexamples of this precondition for a given service.
-
#instrument ⇒ Object
Instrument the current test_case so as to meet the precondition.
Methods included from Condition
#bind, #fail!, match, #sooner_or_later, #to_s
Instance Method Details
#contribute_to_openapi_verb(verb_defn) ⇒ Object
5 6 7 |
# File 'lib/webspicy/web/openapi/ext.rb', line 5 def contribute_to_openapi_verb(verb_defn) verb_defn end |
#counterexamples(service) ⇒ Object
Provide counterexamples of this precondition for a given service.
11 12 13 |
# File 'lib/webspicy/specification/pre.rb', line 11 def counterexamples(service) [] end |
#instrument ⇒ Object
Instrument the current test_case so as to meet the precondition
7 8 |
# File 'lib/webspicy/specification/pre.rb', line 7 def instrument end |