spec/vagrant-rackspace/config_spec.rb in vagrant-rackspace-0.1.1 vs spec/vagrant-rackspace/config_spec.rb in vagrant-rackspace-0.1.2
- old
+ new
@@ -9,23 +9,27 @@
o.finalize!
end
end
its(:api_key) { should be_nil }
- its(:endpoint) { should be_nil }
+ its(:rackspace_region) { should be_nil }
+ its(:rackspace_compute_url) { should be_nil }
its(:flavor) { should eq(/512MB/) }
its(:image) { should eq(/Ubuntu/) }
its(:public_key_path) { should eql(vagrant_public_key) }
+ its(:rackconnect) { should be_nil }
its(:server_name) { should be_nil }
its(:username) { should be_nil }
end
describe "overriding defaults" do
[:api_key,
- :endpoint,
+ :rackspace_region,
+ :rackspace_compute_url,
:flavor,
:image,
:public_key_path,
+ :rackconnect,
:server_name,
:username].each do |attribute|
it "should not default #{attribute} if overridden" do
subject.send("#{attribute}=".to_sym, "foo")
subject.finalize!