Sha256: 30a39bbc999f735a6640579d98b9c492e44eef18b2d2cce3187a1c87524a51eb
Contents?: true
Size: 366 Bytes
Versions: 36
Compression:
Stored size: 366 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/spec_helper") module RR describe ProcFromBlock do describe "#==" do it "acts the same as #== on a Proc" do original_proc = lambda {} Proc.new(&original_proc).should == original_proc ProcFromBlock.new(&original_proc).should == original_proc end end end end
Version data entries
36 entries across 32 versions & 7 rubygems