Sha256: 3f6bd2d8a46e2eedcfa14c529fbc335b5e837ce2c9f1f3559380d163c171fd20
Contents?: true
Size: 276 Bytes
Versions: 83
Compression:
Stored size: 276 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' describe "ObjectSpace._id2ref" do it "converts an object id to a reference to the object" do s = "I am a string" r = ObjectSpace._id2ref(s.object_id) r.should == s end end
Version data entries
83 entries across 83 versions & 1 rubygems