Sha256: f7488fd39d9966461a67e62cf7f7f88121c05fd3f31566c5a0fcb341e8c53844
Contents?: true
Size: 466 Bytes
Versions: 18
Compression:
Stored size: 466 Bytes
Contents
require_relative './spec_helper' require 'norikra/engine' describe Norikra::Engine do it 'can be initialized' do expect { Norikra::Engine.new(nil, nil) }.not_to raise_error end describe '#camelize' do it 'make CamelizedString from :snake_case_symbol' do engine = Norikra::Engine.new(nil, nil) expect(engine.camelize(:symbol)).to eql('Symbol') expect(engine.camelize(:snake_case_symbol)).to eql('SnakeCaseSymbol') end end end
Version data entries
18 entries across 18 versions & 1 rubygems