spec/container_spec.rb in testlab-1.8.3 vs spec/container_spec.rb in testlab-1.8.4
- old
+ new
@@ -136,23 +136,9 @@
@testlab.containers.last.primary_interface.should_not be_nil
@testlab.containers.last.primary_interface.should be_kind_of(TestLab::Interface)
end
end
- describe "#generate_ip" do
- it "should generate a random RFC compliant private IP address" do
- subject.generate_ip.should_not be_nil
- subject.generate_ip.should be_kind_of(String)
- end
- end
-
- describe "#generate_mac" do
- it "should generate a random RFC compliant private MAC address" do
- subject.generate_mac.should_not be_nil
- subject.generate_mac.should be_kind_of(String)
- end
- end
-
describe "#create" do
it "should create the container" do
subject.node.stub(:alive?) { true }
subject.node.stub(:state) { :running }
subject.node.ssh.stub(:exec)