Sha256: c7868d29b33276ab94a69dcf0f186a46af123dd278ff1ea304f90c26de797533

Contents?: true

Size: 472 Bytes

Versions: 4

Compression:

Stored size: 472 Bytes

Contents

describe 'transformer_marshal_hex', proxy: :Transformer do
  moneta_build do

    Moneta.build do
      use :Transformer, key: [:marshal, :hex], value: [:marshal, :hex]
      adapter :Memory
    end
  end

  moneta_loader do |value|
    ::Marshal.load([value].pack('H*'))
  end

  moneta_specs STANDARD_SPECS.without_persist

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
moneta-1.2.1 spec/moneta/proxies/transformer/transformer_marshal_hex_spec.rb
moneta-1.2.0 spec/moneta/proxies/transformer/transformer_marshal_hex_spec.rb
moneta-1.1.1 spec/moneta/proxies/transformer/transformer_marshal_hex_spec.rb
moneta-1.1.0 spec/moneta/proxies/transformer/transformer_marshal_hex_spec.rb