aboutsummaryrefslogtreecommitdiffstats
path: root/spec/unit/type/vpp_config_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/type/vpp_config_spec.rb')
-rw-r--r--spec/unit/type/vpp_config_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/unit/type/vpp_config_spec.rb b/spec/unit/type/vpp_config_spec.rb
new file mode 100644
index 0000000..d25061f
--- /dev/null
+++ b/spec/unit/type/vpp_config_spec.rb
@@ -0,0 +1,15 @@
+require 'puppet'
+require 'puppet/type/vpp_config'
+require 'spec_helper'
+
+describe 'Puppet::Type.type(:vpp_config)' do
+
+ before :each do
+ @vpp_conf = Puppet::Type.type(:vpp_config).new(:setting => 'dpdk/test_setting')
+ end
+
+ it 'should accept value' do
+ Puppet::Type.type(:vpp_config).new(:setting => 'dpdk/test_setting', :value => 'test_value')
+ end
+
+end