Sha256: bee70443c45722c05dab75854500878f626d47ee7a26a686951cceb47af50d96

Contents?: true

Size: 255 Bytes

Versions: 8

Compression:

Stored size: 255 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'spec_helper'

describe "Exchange::Cachify" do
  
  describe "cachify" do
    subject { ["hello", 23, :world ] }
    it "should marshal dump" do
      subject.cachify.should == Marshal.dump(subject)
    end
  end
  
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
exchange-1.2.2 spec/exchange/core_extensions/array/cachify_spec.rb
exchange-1.2.1 spec/exchange/core_extensions/array/cachify_spec.rb
exchange-1.2.0 spec/exchange/core_extensions/array/cachify_spec.rb
exchange-1.1.1 spec/exchange/core_extensions/array/cachify_spec.rb
exchange-1.1.0 spec/exchange/core_extensions/array/cachify_spec.rb
exchange-1.0.4 spec/exchange/core_extensions/array/cachify_spec.rb
exchange-1.0.2 spec/exchange/core_extensions/array/cachify_spec.rb
exchange-1.0.0 spec/exchange/core_extensions/array/cachify_spec.rb