Sha256: 5a503070b796a10f3f2a6b13bcecd6bfbe99c319dbb8f5cf01d3a3bfa8fbe285
Contents?: true
Size: 283 Bytes
Versions: 42
Compression:
Stored size: 283 Bytes
Contents
When /^I save the json '(\{.*\})'$/ do |json_text| json = JSON.parse(json_text) @last_save = @collection.save(json) end Then /^the json '(\{.*\})' roundtrips$/ do |json_text| json = JSON.parse(json_text) @collection.find_one(@last_save).should be_mongo_eql(json, false) end
Version data entries
42 entries across 42 versions & 3 rubygems
Version | Path |
---|---|
mongodoc-0.1.1 | features/step_definitions/json_steps.rb |
mongodoc-0.1.0 | features/step_definitions/json_steps.rb |