Sha256: 70c8443b357a425cad02063fad735ded7bc31355e05b31482eb9cefdad79c232
Contents?: true
Size: 298 Bytes
Versions: 4
Compression:
Stored size: 298 Bytes
Contents
require "spec_helper_lite" require 'undo/storage/memory' describe Undo::Storage::Memory do subject { described_class } let(:adapter) { subject.new } let(:object) { double :object } it "stores any object" do adapter.put 123, object expect(adapter.fetch 123).to eq object end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
undo-0.1.1 | spec/undo/storage/memory_spec.rb |
undo-0.1.0 | spec/undo/storage/memory_spec.rb |
undo-0.0.3 | spec/undo/storage/memory_spec.rb |
undo-0.0.2 | spec/undo/storage/memory_spec.rb |