Sha256: 8b3ac8fe7714d2272298dd696097ff002f670299a6a00efa1a4ae46ce1a62257
Contents?: true
Size: 285 Bytes
Versions: 1
Compression:
Stored size: 285 Bytes
Contents
require "spec_helper" RSpec.describe NilClass do describe "#to_burlap" do subject(:burlap) { nil.to_burlap } it "returns a string" do expect(burlap).to be_a_kind_of(String) end it "is correct" do expect(burlap).to eq("<null></null>") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
burlap-1.0.0 | spec/burlap/core_ext/nil_class_spec.rb |