Sha256: 72959d3b5889fb4cccb996338ec551fe80b05981f03c5cc374d2dc5c21941ff9

Contents?: true

Size: 469 Bytes

Versions: 11

Compression:

Stored size: 469 Bytes

Contents

describe 'transformer_bzip2', proxy: :Transformer do
  moneta_build do
    Moneta.build do
      use :Transformer, value: :bzip2
      adapter :Memory
    end
  end

  moneta_loader do |value|
    ::RBzip2.default_adapter::Decompressor.new(::StringIO.new(value)).read
  end

  moneta_specs TRANSFORMER_SPECS.stringvalues_only.with_each_key

  it 'compile transformer class' do
    store.should_not be_nil
    Moneta::Transformer::Bzip2Value.should_not be_nil
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
moneta-1.5.2 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.5.1 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.5.0 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.4.2 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.4.1 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.4.0 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.3.0 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.2.1 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.2.0 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.1.1 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb
moneta-1.1.0 spec/moneta/proxies/transformer/transformer_bzip2_spec.rb