Sha256: aba0e6eef654edd2eb9ee17626702bf3ffc4734d864a075c0c56c33954feb67f

Contents?: true

Size: 377 Bytes

Versions: 85

Compression:

Stored size: 377 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

85 entries across 85 versions & 1 rubygems

Version Path
ree_lib-1.0.124 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.123 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.122 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.121 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.120 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.119 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.118 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.117 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.116 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.115 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.114 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.113 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.112 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.111 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.110 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.109 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.108 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.107 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.106 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb
ree_lib-1.0.105 lib/ree_lib/packages/ree_logger/spec/ree_logger/appenders/appender_spec.rb