Sha256: b9a423b49b0b3e1a8f84e9dc9fac0d448e0a6cbd5581b0787a4047b3816d1cf8
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
module Korinthenkacker class TestCase attr_reader :name, :duration, :failed_since, :status def initialize(json) @name = json['name'] @duration = json['duration'] @failed_since = json['duration'] @status = json['status'] end def success? !(status == 'REGRESSION' || status == 'FAILED') end private def status_with_json(json) json['status'] == 'REGRESSION' || json['status'] == 'FAILED' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
korinthenkacker-0.0.1 | lib/korinthenkacker/test_case.rb |