spec/vagrant-rackspace/config_spec.rb in vagrant-rackspace-0.1.7 vs spec/vagrant-rackspace/config_spec.rb in vagrant-rackspace-0.1.8

- old
+ new

@@ -22,10 +22,11 @@ its(:server_name) { should be_nil } its(:username) { should be_nil } its(:disk_config) { should be_nil } its(:networks) { should be_nil } its(:rsync_includes) { should be_nil } + its(:admin_password) { should be_nil } end describe "overriding defaults" do [:api_key, :rackspace_region, @@ -35,10 +36,11 @@ :image, :public_key_path, :rackconnect, :server_name, :disk_config, - :username].each do |attribute| + :username, + :admin_password].each do |attribute| it "should not default #{attribute} if overridden" do subject.send("#{attribute}=".to_sym, "foo") subject.finalize! subject.send(attribute).should == "foo" end