Class: TestResultSuccess

Inherits:
TestResult show all
Defined in:
lib/perfecto-reporting/test/result/TestResultSuccess.rb

Overview

TestResultSuccess

Define a successful test result

Constant Summary collapse

@@STATUS =
'PASSED'

Instance Method Summary collapse

Instance Method Details

#isSuccessfulObject



10
11
12
# File 'lib/perfecto-reporting/test/result/TestResultSuccess.rb', line 10

def isSuccessful
  return true
end

#statusObject



14
15
16
# File 'lib/perfecto-reporting/test/result/TestResultSuccess.rb', line 14

def status
  @@STATUS
end