testlab 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  class TestLab
2
2
  unless const_defined?(:VERSION)
3
3
  # TestLab Gem Version
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
6
6
  end
data/spec/node_spec.rb CHANGED
@@ -117,6 +117,8 @@ describe TestLab::Node do
117
117
  subject.stub(:build_resolv_conf) { true }
118
118
  subject.stub(:bind_setup) { true }
119
119
  subject.stub(:bind_reload) { true }
120
+ subject.stub(:create) { true }
121
+ subject.stub(:up) { true }
120
122
  subject.containers.each do |container|
121
123
  container.stub(:setup) { true }
122
124
  end
@@ -130,6 +132,8 @@ describe TestLab::Node do
130
132
  describe "teardown" do
131
133
  it "should teardown the node" do
132
134
  subject.stub(:route_setup) { true }
135
+ subject.stub(:down) { true }
136
+ subject.stub(:destroy) { true }
133
137
  subject.containers.each do |container|
134
138
  container.stub(:teardown) { true }
135
139
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -286,7 +286,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
286
286
  version: '0'
287
287
  segments:
288
288
  - 0
289
- hash: 4401719777665072340
289
+ hash: 2167102659908500318
290
290
  required_rubygems_version: !ruby/object:Gem::Requirement
291
291
  none: false
292
292
  requirements:
@@ -295,7 +295,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
295
295
  version: '0'
296
296
  segments:
297
297
  - 0
298
- hash: 4401719777665072340
298
+ hash: 2167102659908500318
299
299
  requirements: []
300
300
  rubyforge_project:
301
301
  rubygems_version: 1.8.25