Minor cleanup

This commit is contained in:
Seth Vargo 2015-05-30 11:47:23 -07:00
parent 388c2f2383
commit 6699e02bcf
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,7 @@ describe VagrantPlugins::HyperV::Config do
expect(subject.ip_address_timeout).to eq(120)
end
end
describe "#vlan_id" do
it "can be set" do
subject.vlan_id = 100
@ -21,6 +22,7 @@ describe VagrantPlugins::HyperV::Config do
expect(subject.vlan_id).to eq(100)
end
end
describe "#vmname" do
it "can be set" do
subject.vmname = "test"
@ -28,6 +30,7 @@ describe VagrantPlugins::HyperV::Config do
expect(subject.vmname).to eq("test")
end
end
describe "#memory" do
it "can be set" do
subject.memory = 512
@ -35,6 +38,7 @@ describe VagrantPlugins::HyperV::Config do
expect(subject.memory).to eq(512)
end
end
describe "#maxmemory" do
it "can be set" do
subject.maxmemory = 1024
@ -42,6 +46,7 @@ describe VagrantPlugins::HyperV::Config do
expect(subject.maxmemory).to eq(1024)
end
end
describe "#cpus" do
it "can be set" do
subject.cpus = 2