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
eac_tools-0.31.1 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.31.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.30.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.29.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.28.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.27.2 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.27.1 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.27.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.26.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.25.1 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.25.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.24.1 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.24.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.23.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.22.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.21.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.20.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.19.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.18.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb
eac_tools-0.17.0 sub/eac_config/spec/lib/eac_config/envvars_node/entry_spec.rb