Sha256: 3859baa830209c499d3034e828181f58707ea5e93f12af5efd76c9e9b76cbe8e

Contents?: true

Size: 420 Bytes

Versions: 168

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

require 'eac_config/envvars_node/entry'

RSpec.describe ::EacConfig::EnvvarsNode::Entry 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_path_to_envvar_name(input)).to eq(expected_result) }
    end
  end
end

Version data entries

168 entries across 168 versions & 3 rubygems

Version Path
avm-tools-0.103.1 vendor/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.103.0 vendor/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
ehbrs-tools-0.22.0 vendor/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.102.2 vendor/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.102.1 vendor/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.102.0 vendor/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.101.0 vendor/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.100.0 vendor/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb