Sha256: 1761ff24108ac7dac78a1394f1ddf54431bcb90342b02f79735b2c3c444d7bc5

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

class TestResult < ActiveRecord::Base

  belongs_to :test
  belongs_to :test_run
  belongs_to :error, class_name: "TestError"

  validates :test_id, :test_run_id, presence: true
  validates :status, inclusion: {in: %w{fail skip pass}}

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
houston-core-0.5.0.beta1 app/models/test_result.rb