Sha256: 3145fa184b0d18dd24a649cb41bf8c135f71a83a049dd23252f35dd7224e05b0

Contents?: true

Size: 200 Bytes

Versions: 52

Compression:

Stored size: 200 Bytes

Contents

require 'spec_helper'

describe WebMock::Util::JSON do
  it "should parse json without parsing dates" do
    WebMock::Util::JSON.parse("\"a\":\"2011-01-01\"").should == {"a" => "2011-01-01"}
  end
end

Version data entries

52 entries across 52 versions & 4 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/webmock-1.8.11/spec/unit/util/json_spec.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/webmock-1.8.11/spec/unit/util/json_spec.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/webmock-1.8.11/spec/unit/util/json_spec.rb
webmock-1.20.3 spec/unit/util/json_spec.rb
webmock-1.20.2 spec/unit/util/json_spec.rb
webmock-1.20.1 spec/unit/util/json_spec.rb
webmock-1.20.0 spec/unit/util/json_spec.rb
webmock-1.19.0 spec/unit/util/json_spec.rb
whos_dated_who-0.1.0 vendor/bundle/gems/webmock-1.18.0/spec/unit/util/json_spec.rb
whos_dated_who-0.0.1 vendor/bundle/gems/webmock-1.18.0/spec/unit/util/json_spec.rb
webmock-1.18.0 spec/unit/util/json_spec.rb
webmock-1.17.4 spec/unit/util/json_spec.rb
webmock-1.17.3 spec/unit/util/json_spec.rb
webmock-1.17.2 spec/unit/util/json_spec.rb
webmock-1.17.1 spec/unit/util/json_spec.rb
webmock-1.17.0 spec/unit/util/json_spec.rb
webmock-1.16.1 spec/unit/util/json_spec.rb
webmock-1.16.0 spec/unit/util/json_spec.rb
webmock-1.15.2 spec/unit/util/json_spec.rb
webmock-1.15.0 spec/unit/util/json_spec.rb