Class: Spectus::RequirementLevel::High

Inherits:
Spectus::Requirement show all
Defined in:
lib/spectus/requirement_level/high.rb

Overview

High requirement level.

API:

  • public

Instance Method Summary collapse

Methods inherited from Spectus::Requirement

#initialize

Constructor Details

This class inherits a constructor from Spectus::Requirement

Instance Method Details

#pass?(&actual) ⇒ Boolean

Evaluate the expectation with the passed block.

Returns:

  • report if the expectation is true or false.

API:

  • public



11
12
13
# File 'lib/spectus/requirement_level/high.rb', line 11

def pass?(&actual)
  sandbox(&actual).pass?
end