Sha256: 6f282b406c2ef8282daa85b59f6503da5c7cc29e6722170b29a5f846886ca28f

Contents?: true

Size: 416 Bytes

Versions: 16

Compression:

Stored size: 416 Bytes

Contents

require File.expand_path('../test_helper', __FILE__)

module Larva
  class ConfigurationTest < Minitest::Test
    def test_configuration_sets_logger_correctly
      assert_equal Filum.logger, Configuration.new.logger
    end

    def test_configuration_sets_logger_correctly
      logger = mock
      config = Configuration.new
      config.logger = logger
      assert_equal logger, config.logger
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
larva-1.3.0 test/configuration_test.rb
larva-1.2.0 test/configuration_test.rb
larva-1.1.3 test/configuration_test.rb
larva-1.1.2 test/configuration_test.rb
larva-1.1.1 test/configuration_test.rb
larva-1.1.0 test/configuration_test.rb
larva-1.0.1 test/configuration_test.rb
larva-1.0.0 test/configuration_test.rb
larva-0.9.2 test/configuration_test.rb
larva-0.9.1 test/configuration_test.rb
larva-0.9.0 test/configuration_test.rb
larva-0.8.0 test/configuration_test.rb
larva-0.7.3 test/configuration_test.rb
larva-0.7.2 test/configuration_test.rb
larva-0.7.1 test/configuration_test.rb
larva-0.7.0 test/configuration_test.rb