spec/vagrant-windows/config_spec.rb in vagrant-windows-1.0.3 vs spec/vagrant-windows/config_spec.rb in vagrant-windows-1.2.0
- old
+ new
@@ -1,9 +1,8 @@
-require "vagrant-windows/config/windows"
-require "vagrant-windows/config/winrm"
+require 'spec_helper'
-describe VagrantWindows::Config::Windows do
+describe VagrantWindows::Config::Windows , :unit => true do
let(:instance) { described_class.new }
describe "defaults" do
subject do
instance.tap do |o|
@@ -40,10 +39,10 @@
its("username") { should == "vagrant" }
its("password") { should == "vagrant" }
its("host") { should == "localhost" }
its("port") { should == 5985 }
its("guest_port") { should == 5985 }
- its("max_tries") { should == 12 }
+ its("max_tries") { should == 20 }
its("timeout") { should == 1800 }
end
describe "overriding defaults" do
[:username, :password, :host, :port, :guest_port, :max_tries, :timeout].each do |attribute|