aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-14 23:44:24 +0000
committerGerrit Code Review <review@openstack.org>2017-07-14 23:44:24 +0000
commit152d224c73cdbd3243a560a27f6a18e5ffbb2e3c (patch)
tree7da4c385f51ff15be45890eab1dc8fbdabe33d9c /spec
parente0fa2c122b013a77ea76e6746c9d5d082e5f081b (diff)
parent8b9e2b3c6ca5221249b8aa7dc792e756ee92209a (diff)
Merge "Contrail: Fix controlplane/dataplane network asignments & enable optional dpdk"
Diffstat (limited to 'spec')
-rw-r--r--spec/functions/netmask_to_cidr_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/functions/netmask_to_cidr_spec.rb b/spec/functions/netmask_to_cidr_spec.rb
new file mode 100644
index 0000000..e076456
--- /dev/null
+++ b/spec/functions/netmask_to_cidr_spec.rb
@@ -0,0 +1,6 @@
+require 'spec_helper'
+require 'puppet'
+
+describe 'netmask_to_cidr' do
+ it { should run.with_params('255.255.255.0').and_return(24) }
+end