Sha256: 89bec58b060ba0bcfe0c9075b837de95914a24491fd21cf99f6ba8cc4bbbee3a
Contents?: true
Size: 442 Bytes
Versions: 4
Compression:
Stored size: 442 Bytes
Contents
require "spec_helper_lite" require "undo/serializer/null" describe Undo::Serializer::Null do subject { described_class } let(:serializer) { described_class.new } describe "returns passed argument" do let(:object) { double :object } specify "#serialize" do expect(serializer.serialize object).to eq object end specify "#deserialize" do expect(serializer.deserialize object).to eq object end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
undo-0.1.1 | spec/undo/serializer/null_spec.rb |
undo-0.1.0 | spec/undo/serializer/null_spec.rb |
undo-0.0.3 | spec/undo/serializer/null_spec.rb |
undo-0.0.2 | spec/undo/serializer/null_spec.rb |