Class: Suture::InterpretsResults

Inherits:
Object
  • Object
show all
Defined in:
lib/suture/verify/interprets_results.rb

Instance Method Summary collapse

Instance Method Details

#interpret(test_plan, test_results) ⇒ Object



5
6
7
8
# File 'lib/suture/verify/interprets_results.rb', line 5

def interpret(test_plan, test_results)
  return unless test_results.failed?
  raise Suture::Error::VerificationFailed.new(test_plan, test_results)
end