Sha256: ea89ba01c7efd2d6283b3504a5393d0a765e40e2d245570c157ea9b22109198e
Contents?: true
Size: 264 Bytes
Versions: 3
Compression:
Stored size: 264 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe Symbol do it 'should respond to the new methods' do Proc.new{ }.should respond_to(*%w(to_proc)) end it 'should return a Proc from to_proc' do :foo.to_proc.should be_a_kind_of(Proc) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
darkhelmet-darkext-0.11.0 | spec/symbol_spec.rb |
darkhelmet-darkext-0.11.1 | spec/symbol_spec.rb |
darkhelmet-darkext-0.11.2 | spec/symbol_spec.rb |