Sha256: 52023c47fdb3af516e0bf84f6c86ecdf5642744c80984e3bd7e31ca6ecc29985
Contents?: true
Size: 412 Bytes
Versions: 15
Compression:
Stored size: 412 Bytes
Contents
# encoding: utf-8 require_relative "../../lib/rubyexts/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
15 entries across 15 versions & 4 rubygems