Sha256: e69ff7ec59c036342ba42d99d860b25a148069e21c117626c4ca77109f62fdd7

Contents?: true

Size: 374 Bytes

Versions: 39

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/inflector'

RSpec.describe ::EacRubyUtils::Inflector do
  describe '#variableize' do
    {
      '_A_variableName' => 'a_variablename'
    }.each do |source, expected|
      context "when source is \"#{source}\"" do
        it { expect(described_class.variableize(source)).to eq(expected) }
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
ehbrs-tools-0.17.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.86.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.85.1 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.85.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
ehbrs-tools-0.16.5 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.84.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.83.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
ehbrs-tools-0.16.4 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.82.1 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.82.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.81.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
ehbrs-tools-0.16.3 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.80.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.79.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.78.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
ehbrs-tools-0.16.2 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.77.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
ehbrs-tools-0.16.1 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
avm-tools-0.76.1 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
ehbrs-tools-0.16.0 vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb