Sha256: a316598894503cc86c252596807de65e6cec2f1703c527faddaba97b0d2eec63

Contents?: true

Size: 506 Bytes

Versions: 7

Compression:

Stored size: 506 Bytes

Contents

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

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

  moneta_loader do |value|
    ::Marshal.load(value.unpack('m').first)
  end

  moneta_specs STANDARD_SPECS.without_persist.with_each_key

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
moneta-1.5.2 spec/moneta/proxies/transformer/transformer_marshal_base64_spec.rb
moneta-1.5.1 spec/moneta/proxies/transformer/transformer_marshal_base64_spec.rb
moneta-1.5.0 spec/moneta/proxies/transformer/transformer_marshal_base64_spec.rb
moneta-1.4.2 spec/moneta/proxies/transformer/transformer_marshal_base64_spec.rb
moneta-1.4.1 spec/moneta/proxies/transformer/transformer_marshal_base64_spec.rb
moneta-1.4.0 spec/moneta/proxies/transformer/transformer_marshal_base64_spec.rb
moneta-1.3.0 spec/moneta/proxies/transformer/transformer_marshal_base64_spec.rb