From fef9ee89e6e88a535aed7dabae35bef07adb8061 Mon Sep 17 00:00:00 2001 From: David Wittman Date: Fri, 21 Feb 2014 18:46:13 -0600 Subject: [PATCH] Add rspec test --- spec/unit/openstack_server_create_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/unit/openstack_server_create_spec.rb b/spec/unit/openstack_server_create_spec.rb index 45d6835b..f19573ff 100644 --- a/spec/unit/openstack_server_create_spec.rb +++ b/spec/unit/openstack_server_create_spec.rb @@ -77,6 +77,10 @@ @options[:ssh_port][:default].should == '22' @options[:ssh_user][:default].should == 'root' end + + it "doesn't set an OpenStack endpoint type by default" do + Chef::Config[:knife][:openstack_endpoint_type].should == nil + end end describe "run" do