Sha256: 5851222bda1ca806175368a52d70842f2f18d63e60509944efe4dc5077044229
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
shared_examples_for "a json adapter" do it_should_behave_like 'an adapter' Adapter::Spec::Types.each do |type, (key, key2)| it "writes Object values to keys that are #{type}s like a Hash" do adapter[key] = {:foo => :bar} adapter[key].should == {'foo' => 'bar'} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adapter-0.5.2 | lib/adapter/spec/json_adapter.rb |
adapter-0.5.1 | lib/adapter/spec/json_adapter.rb |