Sha256: ed07f906412be9318f5448dc28bba857d51bf12b54e1706967e450916be6afea
Contents?: true
Size: 189 Bytes
Versions: 3
Compression:
Stored size: 189 Bytes
Contents
# frozen_string_literal: true 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.2 | spec/lib/support/json_spec.rb |
basquiat-1.3.1 | spec/lib/support/json_spec.rb |
basquiat-1.3.0 | spec/lib/support/json_spec.rb |