Sha256: 97136d999e16719dcdfa1aac8349113b72b69482f903b439a2f02707b2fbc261
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true describe Rake::Funnel::Extensions::Case::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
3 entries across 3 versions & 1 rubygems