bosh_cpi 1.2005.0 → 1.2063.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'bosh/cpi/compatibility_helpers'
|
2
|
+
|
3
|
+
module Bosh::Cpi::CompatibilityHelpers
|
4
|
+
def it_can_delete_non_existent_vm(vm_cid='vm-cid')
|
5
|
+
describe "delete_vm (deleting non existent vm)" do
|
6
|
+
context "when VM is not present" do
|
7
|
+
it "raises VMNotFound error" do
|
8
|
+
expect {
|
9
|
+
subject.delete_vm(vm_cid)
|
10
|
+
}.to raise_error(Bosh::Clouds::VMNotFound, "VM `#{vm_cid}' not found")
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/bosh/cpi.rb
ADDED
data/lib/cloud/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh_cpi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2063.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bosh_common
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.2063.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,15 +26,18 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: 1.2063.0
|
30
30
|
description: ! 'BOSH CPI
|
31
31
|
|
32
|
-
|
32
|
+
941741'
|
33
33
|
email: support@cloudfoundry.com
|
34
34
|
executables: []
|
35
35
|
extensions: []
|
36
36
|
extra_rdoc_files: []
|
37
37
|
files:
|
38
|
+
- lib/bosh/cpi.rb
|
39
|
+
- lib/bosh/cpi/compatibility_helpers.rb
|
40
|
+
- lib/bosh/cpi/compatibility_helpers/delete_vm.rb
|
38
41
|
- lib/bosh/cpi/tasks.rb
|
39
42
|
- lib/bosh/cpi/tasks/spec.rake
|
40
43
|
- lib/cloud.rb
|
@@ -64,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
67
|
version: '0'
|
65
68
|
segments:
|
66
69
|
- 0
|
67
|
-
hash:
|
70
|
+
hash: 2215725345362619166
|
68
71
|
requirements: []
|
69
72
|
rubyforge_project:
|
70
73
|
rubygems_version: 1.8.23
|