Sha256: 1468d1b7c728373bb68c5fee8f6769cf22917de48e17e340694eabd5fbe35515

Contents?: true

Size: 198 Bytes

Versions: 26

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

26 entries across 26 versions & 2 rubygems

Version Path
balanced-0.8.2 spec/utils_spec.rb
balanced-0.8.1 spec/utils_spec.rb
balanced-0.7.5 spec/utils_spec.rb
balanced-0.7.4 spec/utils_spec.rb
balanced-0.7.2 spec/utils_spec.rb
balanced-0.7.1 spec/utils_spec.rb
balanced-0.7.0 spec/utils_spec.rb
balanced-0.6.0 spec/utils_spec.rb
balanced-0.5.6 spec/utils_spec.rb
balanced-0.5.5 spec/utils_spec.rb
balanced-0.5.4 spec/utils_spec.rb
balanced-0.5.3 spec/utils_spec.rb
balanced-0.5.2 spec/utils_spec.rb
balanced-0.5.1 spec/utils_spec.rb
balanced-ach-0.1 spec/utils_spec.rb
balanced-0.3.11 spec/utils_spec.rb
balanced-0.3.10 spec/utils_spec.rb
balanced-0.3.8 spec/utils_spec.rb
balanced-0.3.7 spec/utils_spec.rb
balanced-0.3.6 spec/utils_spec.rb