Sha256: bde3f6362921f94295480d21fbdb8e2cefc276f879fc60571665d1b26fa91772

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

RSpec.describe Oscal do
  it "has a version number" do
    expect(Oscal::VERSION).not_to be nil
  end

  it "allows setting a new logger" do
    logger = double(Logger)
    Oscal::ParsingLogger.logger = logger

    class LoggerTest
      include Oscal::ParsingLogger
    end

    expect(LoggerTest.new.get_logger).to eq logger
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oscal-0.2.3 spec/oscal_spec.rb
oscal-0.2.2 spec/oscal_spec.rb