Sha256: d84e333c914c7574ac6892bb5f88e71437bc4428060f2dbe68c8e4e85756d5f4

Contents?: true

Size: 345 Bytes

Versions: 14

Compression:

Stored size: 345 Bytes

Contents

require 'spec_helper'

describe "Hubspot::Helpers::CamelCase" do
  subject( :camel_case) { Hubspot::Helpers::CamelCase.new }

    it "Method 'format' should convert all snake_case strings to CamelCase strings" do
      result = camel_case.format("some_test_text_in_snake_case")
      expect(result).to eql "SomeTestTextInSnakeCase"
    end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hubspot-api-client-19.0.0 spec/helpers/camel_case_spec.rb
hubspot-api-client-18.0.0 spec/helpers/camel_case_spec.rb
hubspot-api-client-17.2.0 spec/helpers/camel_case_spec.rb
hubspot-api-client-17.1.1 spec/helpers/camel_case_spec.rb
hubspot-api-client-17.1.0 spec/helpers/camel_case_spec.rb
hubspot-api-client-17.0.0 spec/helpers/camel_case_spec.rb
hubspot-api-client-17.0.0.pre.beta.4 spec/helpers/camel_case_spec.rb
hubspot-api-client-17.0.0.pre.beta.3 spec/helpers/camel_case_spec.rb
hubspot-api-client-17.0.0.pre.beta.2 spec/helpers/camel_case_spec.rb
hubspot-api-client-17.0.0.pre.beta.1 spec/helpers/camel_case_spec.rb
hubspot-api-client-16.4.0 spec/helpers/camel_case_spec.rb
hubspot-api-client-16.3.0 spec/helpers/camel_case_spec.rb
hubspot-api-client-16.2.1 spec/helpers/camel_case_spec.rb
hubspot-api-client-16.2.0 spec/helpers/camel_case_spec.rb