Sha256: b01364e53b328c1fddd3bc270859d481dd46e24213f5b3b94c2e1f62260aa27f
Contents?: true
Size: 317 Bytes
Versions: 16
Compression:
Stored size: 317 Bytes
Contents
require "strong_json" describe StrongJSON::Type::Literal do describe "=~" do let (:type) { StrongJSON::Type::Literal.new(3) } it "returns true if == holds" do expect(type =~ 3).to be_truthy end it "returns false if == doesn't hold" do expect(type =~ 4).to be_falsey end end end
Version data entries
16 entries across 16 versions & 1 rubygems