Sha256: 3226313c37c0141e8e013f2376723896ee1c33a1a99a193de20be88932e30a57
Contents?: true
Size: 416 Bytes
Versions: 1
Compression:
Stored size: 416 Bytes
Contents
# encoding: utf-8 require_relative "../../../lib/rango/ext/object_space" describe ObjectSpace do describe "#classes" do it "should returns the only item in array" do -> { Class.new }.should change { ObjectSpace.classes.length }.by(1) end it "should returns the only item in array" do ObjectSpace.classes.each do |klass| klass.should be_kind_of(Class) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rango-0.0.4 | spec/rango/ext/object_space_spec.rb |