Sha256: 0815299953d7813028cc865da86d482720168eeeba1d423412f192385a64a0bb
Contents?: true
Size: 272 Bytes
Versions: 1
Compression:
Stored size: 272 Bytes
Contents
require 'spec_helper' require File.expand_path('../../lib/proc_for_case_equality', __FILE__) describe ProcForCaseEquality, '#===' do it 'should return the result of the proc' do p = ProcForCaseEquality.new{ |i| i } p.send(:===, 'foo').should == 'foo' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
proc_for_case_equality-0.1 | spec/proc_for_case_equality_spec.rb |