Sha256: a3e8256a7df32d895e198d284fe20e92978a4f25684d555f410de023b2253a6e

Contents?: true

Size: 396 Bytes

Versions: 8

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/old_configs'

RSpec.describe EacCli::OldConfigs do
  describe '#entry_key_to_envvar_name' do
    {
      'a.entry.value' => 'A_ENTRY_VALUE',
      'appli-cation_0.var_one' => 'APPLICATION_0_VAR_ONE'
    }.each do |input, expected_result|
      it { expect(described_class.entry_key_to_envvar_name(input)).to eq(expected_result) }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
eac_tools-0.82.0 sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb
eac_tools-0.81.0 sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb
eac_tools-0.80.0 sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb
eac_tools-0.79.0 sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb
eac_tools-0.78.0 sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb
eac_tools-0.77.1 sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb
eac_tools-0.77.0 sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb
eac_tools-0.76.1 sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb