Sha256: 66de9c5eb70c9f556de5853cb97f46705f7c8a0d8d643b3ff7380aa2b420d349
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
require 'spec_helper' describe String do it 'should include the camelize method' do "string".respond_to?(:camelize).should eql(true) end it 'should include the constantize method' do "string".respond_to?(:constantize).should eql(true) end it 'should camelize the string' do "html".camelize.should eql('Html') "ht_ml".camelize.should eql('HtMl') end it 'should constantize a string' do "String".constantize.new.should be_kind_of String end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jackb-0.0.4 | spec/lib/string_spec.rb |
jackb-0.0.3 | spec/lib/string_spec.rb |