Sha256: 00e4ac15dbbc3eabe5c7908f6e6ccc8707b65ae8f3edb5b021e75f1c47eddfb1

Contents?: true

Size: 419 Bytes

Versions: 10

Compression:

Stored size: 419 Bytes

Contents

require 'spec_helper'

describe 'kafo_configure::dump_variables' do
  it { is_expected.to run.with_params([]).and_return({}) }

  context 'with values' do
    let(:pre_condition) { 'include dummy' }
    it { is_expected.to run.with_params(['dummy::first']).and_return({'dummy::first' => 'foo'}) }
    it { is_expected.to run.with_params(['dummy::password']).and_return({'dummy::password' => 'supersecret'}) }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kafo-7.6.0 modules/kafo_configure/spec/functions/dump_variables_spec.rb
kafo-7.5.1 modules/kafo_configure/spec/functions/dump_variables_spec.rb
kafo-7.5.0 modules/kafo_configure/spec/functions/dump_variables_spec.rb
kafo-7.4.0 modules/kafo_configure/spec/functions/dump_variables_spec.rb
kafo-7.3.0 modules/kafo_configure/spec/functions/dump_variables_spec.rb
kafo-7.2.0 modules/kafo_configure/spec/functions/dump_variables_spec.rb
kafo-7.1.0 modules/kafo_configure/spec/functions/dump_variables_spec.rb
kafo-7.0.0 modules/kafo_configure/spec/functions/dump_variables_spec.rb
kafo-6.5.0 modules/kafo_configure/spec/functions/dump_variables_spec.rb
kafo-6.4.1 modules/kafo_configure/spec/functions/dump_variables_spec.rb