Sha256: fde756223166bba86ca4b2588d4a8b69b123cc61313666fa985b9a8449dce1ee

Contents?: true

Size: 378 Bytes

Versions: 39

Compression:

Stored size: 378 Bytes

Contents

#frozen_string_literal = true

package_require('ree_logger/appenders/appender')

RSpec.describe ReeLogger::Appender do
  let(:appender) { described_class }

  it {
    appender = described_class.new(:level, nil)

    expect { appender.append({}) }.to raise_error(NotImplementedError) do |e|
      expect(e.message).to eq("should be implemented in derived class")
    end
  }
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
ree_lib-1.0.39 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.38 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.37 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.36 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.35 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.34 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.33 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.32 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.31 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.30 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.29 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.28 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.27 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.26 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.24 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.23 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.22 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.21 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.20 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.19 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb