Sha256: 5fcad22c40da477181a2960ca714ba641757e27d1f4ed5f83754618faea06f25

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

shared_examples_for "a json adapter" do
  it_should_behave_like 'an adapter'

  AdapterTestTypes.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

1 entries across 1 versions & 1 rubygems

Version Path
adapter-0.5 spec/support/json_adapter.rb