Sha256: d18c1c01412a421dc795ce5a763a6114a42adafe5411662a91693af91b9ab61b
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
require "spec_helper" describe Class do describe "#to_burlap" do subject(:burlap) { described_class.new.to_burlap } # FIXME: The comment "we can't dump anonymous classes" implies this # shouldn't work or it shouldn't work as it currently does # but the intent has been lost. This test confirms the # current behaviour as implemented. # it "doesn't raise an error" do expect { burlap }.not_to raise_error end it "returns a string" do expect(burlap).to be_a_kind_of(String) end it "is returning a string..." do expect(burlap).to eq("<map><type>Class</type></map>") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
burlap-1.0.0 | spec/burlap/core_ext/class_spec.rb |