cukeforker 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module CukeForker
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -9,7 +9,7 @@ module CukeForker
9
9
  end
10
10
 
11
11
  def on_worker_finished(worker)
12
- @pool.release worker.vnc
12
+ @pool.release worker.data.vnc
13
13
  worker.data.vnc = nil
14
14
  end
15
15
 
@@ -15,7 +15,7 @@ module CukeForker
15
15
  end
16
16
 
17
17
  it "releases the display and removes it from the worker" do
18
- worker.should_receive(:vnc).and_return server
18
+ worker.data.should_receive(:vnc).and_return server
19
19
  pool.should_receive(:release).with server
20
20
  worker.data.should_receive(:vnc=).with(nil)
21
21
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 6
9
- version: 0.0.6
8
+ - 7
9
+ version: 0.0.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jari Bakken