Sha256: 8dacb24e92127be14eb71f3fc7a7aab797e2c9f920f9cdc9d8307ec16a903ed6

Contents?: true

Size: 247 Bytes

Versions: 6

Compression:

Stored size: 247 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../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

6 entries across 6 versions & 1 rubygems

Version Path
webmock-1.7.5 spec/util/json_spec.rb
webmock-1.7.4 spec/util/json_spec.rb
webmock-1.7.3 spec/util/json_spec.rb
webmock-1.7.2 spec/util/json_spec.rb
webmock-1.7.1 spec/util/json_spec.rb
webmock-1.7.0 spec/util/json_spec.rb