Sha256: df3c4b19d45bdb69d2e7ffd71a5a0cf061efe26cdbd07c86db6937eb7ee6a0d6
Contents?: true
Size: 257 Bytes
Versions: 11
Compression:
Stored size: 257 Bytes
Contents
require "spec_helper" describe Symbol do describe "#method_missing" do it "#sub. returns a symbol" do :_foo.sub(/_/, '').should == :foo end it "#chars. return a enumerator" do :_foo.chars.should be_an_instance_of Enumerator end end end
Version data entries
11 entries across 11 versions & 1 rubygems