Sha256: d972ee62bb0cb8f3a3fb4534481d5b6698a06443ffc54f12f6dcf3319409490c
Contents?: true
Size: 159 Bytes
Versions: 3
Compression:
Stored size: 159 Bytes
Contents
describe Basquiat::Json do it "returns an empty hash if it can't parse the payload" do expect(Basquiat::Json.decode('Idaho Potato')).to eq({}) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
basquiat-1.3.0.pre.1 | spec/lib/support/json_spec.rb |
basquiat-1.2.0 | spec/lib/support/json_spec.rb |
basquiat-1.1.1 | spec/lib/support/json_spec.rb |