Sha256: e23756b5a30e6dba6b5455b93a3b7a5cf084cb51738d12bfedecb193dab3c179
Contents?: true
Size: 718 Bytes
Versions: 16
Compression:
Stored size: 718 Bytes
Contents
require 'test_plugin_helper' describe TemplateInput do let(:template_input) { FactoryGirl.build(:template_input) } context 'user input' do before { template_input.input_type = 'user' } it { assert template_input.user_template_input? } end context 'fact input' do before { template_input.input_type = 'fact' } it { assert template_input.fact_template_input? } end context 'variable input' do before { template_input.input_type = 'variable' } it { assert template_input.variable_template_input? } end context 'puppet parameter input' do before { template_input.input_type = 'puppet_parameter' } it { assert template_input.puppet_parameter_template_input? } end end
Version data entries
16 entries across 16 versions & 1 rubygems