Class: Spectus::Requirement::Recommended
- Defined in:
- lib/spectus/requirement/recommended.rb
Overview
Implementation of SHOULD/SHOULD NOT requirements from RFC 2119.
This level is less strict than MUST requirements. A test at this level passes in two cases:
-
When the matcher returns the expected result
-
When no error was raised during the test
Class Method Summary collapse
-
.level ⇒ Symbol
The RFC 2119 keyword for this requirement level.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Spectus::Requirement::Base
Class Method Details
.level ⇒ Symbol
The RFC 2119 keyword for this requirement level.
28 29 30 |
# File 'lib/spectus/requirement/recommended.rb', line 28 def self.level :SHOULD end |