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.120.2 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.120.1 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.120.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.119.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.118.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.117.3 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.117.2 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.117.1 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.117.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.116.2 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.116.1 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.116.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.115.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.114.2 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.114.1 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.114.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.113.6 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.113.5 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.113.4 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
avm-tools-0.113.3 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb