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.18 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.17 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.16 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.15 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.14 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.13 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.12 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.11 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.10 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.9 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.8 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.7 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.6 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.5 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.4 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.3 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.2 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.1 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.0 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb