Sha256: c1da7dbddaf71dc5157f9348ccc505937ecba4ec2540e338a148da83082a9095

Contents?: true

Size: 198 Bytes

Versions: 7

Compression:

Stored size: 198 Bytes

Contents

require 'spec_helper'

describe 'the utils module' do
  it 'should correctly translate underscored names' do
    result = Balanced::Utils.camelize 'api_key'
    result.should eq('ApiKey')
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
balanced-1.2.1 spec/utils_spec.rb
balanced-1.1.1 spec/utils_spec.rb
balanced-1.1.0 spec/utils_spec.rb
balanced-1.0.2 spec/utils_spec.rb
balanced-1.0.1 spec/utils_spec.rb
balanced-1.0 spec/utils_spec.rb
balanced-1.0.beta1 spec/utils_spec.rb