# frozen_string_literal: true

require 'indicina/logging'

require 'sequel'

module Indicina
  class TestRun < Sequel::Model
    many_to_one :test

    dataset_module do
      def with_tests(tests)
        where(test: tests)
      end
    end
  end
end
