spec/unit/config_spec.rb in vagrant-skytap-0.1.5 vs spec/unit/config_spec.rb in vagrant-skytap-0.1.6

- old
+ new

@@ -17,10 +17,11 @@ its("username") { should be_nil } its("api_token") { should be_nil } its("base_url") { should == "https://cloud.skytap.com/" } its("vm_url") { should be_nil } + its("vpn_url") { should be_nil } its("instance_ready_timeout") { should == 120 } its("cpus") { should be_nil } its("cpuspersocket") { should be_nil } its("ram") { should be_nil } its("guestos") { should be_nil } @@ -30,10 +31,10 @@ # I typically don't meta-program in tests, but this is a very # simple boilerplate test, so I cut corners here. It just sets # each of these attributes to "foo" in isolation, and reads the value # and asserts the proper result comes back out. [:username, :api_token, :base_url, :vm_url, - :instance_ready_timeout, + :vpn_url, :instance_ready_timeout, :cpus, :cpuspersocket, :ram, :guestos].each do |attribute| it "should not default #{attribute} if overridden" do instance.send("#{attribute}=".to_sym, "foo") instance.finalize! instance.send(attribute).should == "foo"