Follow the Brass

spec/run_result_spec.rb

16 lines · ruby

Project files
# frozen_string_literal: true

require "run_result"

RSpec.describe RunResult do
  subject(:result) do
    described_class.new(
      released: [], record: :record, wrong_context: [], foreign: [],
      rejected: [], quarantined: []
    )
  end

  it "identifies a completed run through the shared result protocol" do
    expect(result).not_to be_halted
  end
end

Read along in the manual: The Reloading Lab · Download the project (zip)