Sha256: 5012b6539c9221f7d3b5bc77acd6229d1aba7a690430b8c1a9fe2a5340f85cd3

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

RSpec.describe Aldous::Configuration do
  subject(:config) {described_class.new}

  describe "#error_reporter" do
    it "is configured to use the dummy error reporter by default" do
      expect(config.error_reporter).to eq ::Aldous::DummyErrorReporter
    end
  end

  describe "#logger" do
    it "is configured to use the stdout logger by default" do
      expect(config.logger).to eq ::Aldous::StdoutLogger
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aldous-1.1.3 spec/aldous/configuration_spec.rb
aldous-1.1.2 spec/aldous/configuration_spec.rb
aldous-1.0.1 spec/aldous/configuration_spec.rb
aldous-1.0.0 spec/aldous/configuration_spec.rb