Sha256: 5b39d60f9e16367061389c7785cb3de1b9f391bc938cec426766825fe22e0fb9
Contents?: true
Size: 465 Bytes
Versions: 11
Compression:
Stored size: 465 Bytes
Contents
describe Rake::Funnel::Extensions::CamelCase do it 'should not touch values without underscores' do expect('foo'.camelize).to eq('foo') end it 'should convert strings with underscores' do expect('foo_bar'.camelize).to eq('fooBar') end it 'should convert symbols to string' do expect(:foo.camelize).to eq('foo') end it 'should convert symbols with underscores' do expect(:foo_bar.camelize).to eq('fooBar') end end
Version data entries
11 entries across 11 versions & 1 rubygems