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

Version Path
norikra-1.5.1-java spec/engine_spec.rb
norikra-1.5.0-java spec/engine_spec.rb
norikra-1.4.0-java spec/engine_spec.rb
norikra-1.3.1-java spec/engine_spec.rb
norikra-1.3.0-java spec/engine_spec.rb
norikra-1.3.0.beta.1-java spec/engine_spec.rb
norikra-1.2.2-java spec/engine_spec.rb
norikra-1.2.1-java spec/engine_spec.rb
norikra-1.2.0-java spec/engine_spec.rb
norikra-1.1.2-java spec/engine_spec.rb
norikra-1.1.1-java spec/engine_spec.rb
norikra-1.1.0-java spec/engine_spec.rb
norikra-1.0.8-java spec/engine_spec.rb
norikra-1.0.7-java spec/engine_spec.rb
norikra-1.0.6-java spec/engine_spec.rb
norikra-1.0.5-java spec/engine_spec.rb
norikra-1.0.4-java spec/engine_spec.rb
norikra-1.0.3-java spec/engine_spec.rb