Skip to content

Commit

Permalink
Add rspec test
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidWittman committed Feb 22, 2014
1 parent b6c00c2 commit fef9ee8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/unit/openstack_server_create_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fef9ee8

Please sign in to comment.