nephophobia 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nephophobia.rb +1 -0
- data/lib/nephophobia/client.rb +8 -0
- data/lib/nephophobia/compute.rb +11 -15
- data/lib/nephophobia/credential.rb +80 -0
- data/lib/nephophobia/image.rb +6 -7
- data/lib/nephophobia/project.rb +3 -3
- data/lib/nephophobia/user.rb +0 -17
- data/lib/nephophobia/version.rb +1 -1
- data/test/cassettes/compute_all.yml +58 -4
- data/test/cassettes/compute_all_with_filter.yml +57 -3
- data/test/cassettes/compute_create.yml +31 -4
- data/test/cassettes/compute_create_with_optional_params.yml +31 -4
- data/test/cassettes/compute_destroy.yml +59 -3
- data/test/cassettes/compute_find.yml +81 -0
- data/test/cassettes/compute_reboot.yml +57 -3
- data/test/cassettes/credential_all.yml +98 -0
- data/test/cassettes/credential_all_without_keys.yml +28 -0
- data/test/cassettes/credential_create.yml +71 -0
- data/test/cassettes/credential_destroy.yml +71 -0
- data/test/cassettes/image_all.yml +4 -4
- data/test/cassettes/image_all_with_filter.yml +27 -0
- data/test/cassettes/image_find.yml +31 -4
- data/test/cassettes/project_add_member.yml +84 -3
- data/test/cassettes/project_all.yml +4 -114
- data/test/cassettes/project_all_with_user_name.yml +190 -0
- data/test/cassettes/project_create.yml +85 -4
- data/test/cassettes/project_destroy.yml +84 -3
- data/test/cassettes/project_find.yml +4 -4
- data/test/cassettes/project_find_with_invalid_project_name.yml +3 -3
- data/test/cassettes/project_member.yml +136 -0
- data/test/cassettes/project_members.yml +58 -4
- data/test/cassettes/project_members_with_invalid_project_name.yml +3 -3
- data/test/cassettes/project_remove_member.yml +84 -3
- data/test/cassettes/role_all.yml +112 -4
- data/test/cassettes/role_all_with_project_name.yml +111 -3
- data/test/cassettes/role_all_without_roles.yml +109 -0
- data/test/cassettes/role_create.yml +84 -3
- data/test/cassettes/role_create_with_project_name.yml +84 -3
- data/test/cassettes/role_create_with_project_name_and_role_name.yml +84 -3
- data/test/cassettes/role_destroy.yml +84 -3
- data/test/cassettes/role_destroy_with_project_name.yml +60 -6
- data/test/cassettes/role_destroy_with_project_name_and_role_name.yml +60 -6
- data/test/cassettes/user_create.yml +31 -4
- data/test/cassettes/user_destroy.yml +30 -3
- data/test/cassettes/user_find.yml +58 -4
- data/test/cassettes/user_find_with_invalid_user_name.yml +3 -3
- data/test/cassettes/user_register.yml +67 -13
- data/test/cassettes/{user_register_assert.yml → user_register_asserts.yml} +10 -10
- data/test/lib/hashify_test.rb +3 -3
- data/test/lib/nephophobia/compute_test.rb +85 -69
- data/test/lib/nephophobia/credential_test.rb +91 -0
- data/test/lib/nephophobia/image_test.rb +29 -29
- data/test/lib/nephophobia/project_test.rb +115 -51
- data/test/lib/nephophobia/role_test.rb +151 -42
- data/test/lib/nephophobia/user_test.rb +48 -28
- data/test/test_helper.rb +9 -8
- metadata +21 -22
- data/test/cassettes/compute_all_with_string_into_int_error.yml +0 -28
- data/test/cassettes/image_all_with_string_into_int_error.yml +0 -28
- data/test/cassettes/project_all_with_string_into_int_error.yml +0 -55
- data/test/cassettes/project_all_with_with_user_name.yml +0 -136
- data/test/cassettes/project_members_with_no_members.yml +0 -28
- data/test/cassettes/project_members_with_string_into_int_error.yml +0 -28
- data/test/cassettes/role_all_with_no_roles.yml +0 -28
- data/test/cassettes/role_all_with_string_into_int_error.yml +0 -28
- data/test/cassettes/user_credentials.yml +0 -30
@@ -1,101 +1,210 @@
|
|
1
1
|
require "test_helper"
|
2
2
|
|
3
3
|
describe Nephophobia::Role do
|
4
|
+
##
|
5
|
+
# Note:
|
6
|
+
# Assumes there is always at least one valid project.
|
7
|
+
# Projects are core functionality to nova networking.
|
8
|
+
# We will always have at least one project configured.
|
9
|
+
|
4
10
|
before do
|
11
|
+
@user_name = "vcr_user"
|
12
|
+
@project_name = "sandbox"
|
13
|
+
@role_name = "netadmin"
|
5
14
|
@role = ::Client.with(:admin).role
|
6
|
-
@
|
7
|
-
@project_name = "vcr_project"
|
15
|
+
@user = ::Client.with(:admin).user
|
8
16
|
end
|
9
17
|
|
10
|
-
describe "#all" do
|
11
|
-
|
18
|
+
describe "#all with a 'user_name'" do
|
19
|
+
before do
|
12
20
|
VCR.use_cassette "role_all" do
|
13
|
-
|
21
|
+
@user.create @user_name
|
22
|
+
@role.create @user_name
|
14
23
|
|
15
|
-
response.
|
24
|
+
@response = @role.all @user_name
|
16
25
|
end
|
17
26
|
end
|
18
27
|
|
19
|
-
|
20
|
-
VCR.use_cassette "
|
21
|
-
|
28
|
+
after do
|
29
|
+
VCR.use_cassette "role_all" do
|
30
|
+
@user.destroy @user_name
|
31
|
+
@role.destroy @user_name
|
32
|
+
end
|
33
|
+
end
|
22
34
|
|
23
|
-
|
35
|
+
it "returns all roles" do
|
36
|
+
VCR.use_cassette "role_all" do
|
37
|
+
@response.size.must_be :>=, 1
|
24
38
|
end
|
25
39
|
end
|
40
|
+
end
|
26
41
|
|
27
|
-
|
28
|
-
|
29
|
-
|
42
|
+
describe "#all without roles" do
|
43
|
+
before do
|
44
|
+
VCR.use_cassette "role_all_without_roles" do
|
45
|
+
@user.create @user_name
|
30
46
|
|
31
|
-
response.
|
47
|
+
@response = @role.all @user_name
|
32
48
|
end
|
33
49
|
end
|
50
|
+
|
51
|
+
after do
|
52
|
+
VCR.use_cassette "role_all_without_roles" do
|
53
|
+
@user.destroy @user_name
|
54
|
+
@role.destroy @user_name
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
it "returns all roles" do
|
59
|
+
@response.must_be_nil
|
60
|
+
end
|
34
61
|
end
|
35
62
|
|
36
|
-
describe "#all with
|
37
|
-
|
63
|
+
describe "#all with 'user_name' and 'project_name'" do
|
64
|
+
before do
|
38
65
|
VCR.use_cassette "role_all_with_project_name" do
|
39
|
-
|
66
|
+
@user.create @user_name
|
67
|
+
@role.create @user_name, @project_name
|
40
68
|
|
41
|
-
response.
|
69
|
+
@response = @role.all @user_name, @project_name
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
after do
|
74
|
+
VCR.use_cassette "role_all_with_project_name" do
|
75
|
+
@user.destroy @user_name
|
76
|
+
@role.destroy @user_name, @project_name
|
42
77
|
end
|
43
78
|
end
|
44
|
-
end
|
45
79
|
|
46
|
-
|
47
|
-
|
80
|
+
it "returns all roles" do
|
81
|
+
@response.size.must_be :>=, 1
|
82
|
+
end
|
83
|
+
end
|
48
84
|
|
49
|
-
|
85
|
+
describe "#create with a 'user_name'" do
|
86
|
+
before do
|
50
87
|
VCR.use_cassette "role_create" do
|
51
|
-
|
88
|
+
@user.create @user_name
|
89
|
+
|
90
|
+
@response = @role.create @user_name
|
91
|
+
end
|
92
|
+
end
|
52
93
|
|
53
|
-
|
94
|
+
after do
|
95
|
+
VCR.use_cassette "role_create" do
|
96
|
+
@user.destroy @user_name
|
97
|
+
@role.destroy @user_name
|
54
98
|
end
|
55
99
|
end
|
56
100
|
|
57
|
-
it "adds
|
101
|
+
it "adds role" do
|
102
|
+
@response.return.must_equal true
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe "#create with 'user_name' and 'project_name'" do
|
107
|
+
before do
|
58
108
|
VCR.use_cassette "role_create_with_project_name" do
|
59
|
-
|
109
|
+
@user.create @user_name
|
60
110
|
|
61
|
-
response.
|
111
|
+
@response = @role.create @user_name, @project_name
|
62
112
|
end
|
63
113
|
end
|
64
114
|
|
65
|
-
|
115
|
+
after do
|
116
|
+
VCR.use_cassette "role_create_with_project_name" do
|
117
|
+
@user.destroy @user_name
|
118
|
+
@role.destroy @user_name, @project_name
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
it "adds role" do
|
123
|
+
@response.return.must_equal true
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
describe "#create with 'user_name', 'project_name', and 'role_name'" do
|
128
|
+
before do
|
66
129
|
VCR.use_cassette "role_create_with_project_name_and_role_name" do
|
67
|
-
|
130
|
+
@user.create @user_name
|
68
131
|
|
69
|
-
response.
|
132
|
+
@response = @role.create @user_name, @project_name, @role_name
|
70
133
|
end
|
71
134
|
end
|
72
|
-
end
|
73
135
|
|
74
|
-
|
75
|
-
|
136
|
+
after do
|
137
|
+
VCR.use_cassette "role_create_with_project_name_and_role_name" do
|
138
|
+
@user.destroy @user_name
|
139
|
+
@role.destroy @user_name, @project_name, @role_name
|
140
|
+
end
|
141
|
+
end
|
76
142
|
|
77
|
-
it "
|
143
|
+
it "adds role" do
|
144
|
+
@response.return.must_equal true
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe "#destroy with 'user_name'" do
|
149
|
+
before do
|
78
150
|
VCR.use_cassette "role_destroy" do
|
79
|
-
|
151
|
+
@user.create @user_name
|
152
|
+
@role.create @user_name
|
80
153
|
|
81
|
-
response.
|
154
|
+
@response = @role.destroy @user_name
|
82
155
|
end
|
83
156
|
end
|
84
157
|
|
85
|
-
|
158
|
+
after do
|
159
|
+
VCR.use_cassette "role_destroy" do
|
160
|
+
@user.destroy @user_name
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
it "removes role" do
|
165
|
+
@response.return.must_equal true
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
describe "#destroy with 'user_name' and 'project_name'" do
|
170
|
+
before do
|
86
171
|
VCR.use_cassette "role_destroy_with_project_name" do
|
87
|
-
|
172
|
+
@user.create @user_name
|
173
|
+
@role.create @user_name, @project_name
|
88
174
|
|
89
|
-
response.
|
175
|
+
@response = @role.destroy @user_name, @project_name
|
90
176
|
end
|
91
177
|
end
|
92
178
|
|
93
|
-
|
179
|
+
after do
|
180
|
+
VCR.use_cassette "role_destroy_with_project_name" do
|
181
|
+
@user.destroy @user_name
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
it "removes role" do
|
186
|
+
@response.return.must_equal true
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
describe "#destroy with 'user_name', 'project_name', and 'role_name'" do
|
191
|
+
before do
|
94
192
|
VCR.use_cassette "role_destroy_with_project_name_and_role_name" do
|
95
|
-
|
193
|
+
@user.create @user_name
|
194
|
+
@role.create @user_name, @project_name, @role_name
|
96
195
|
|
97
|
-
response.
|
196
|
+
@response = @role.destroy @user_name, @project_name, @role_name
|
98
197
|
end
|
99
198
|
end
|
199
|
+
|
200
|
+
after do
|
201
|
+
VCR.use_cassette "role_destroy_with_project_name_and_role_name" do
|
202
|
+
@user.destroy @user_name
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
it "removes role" do
|
207
|
+
@response.return.must_equal true
|
208
|
+
end
|
100
209
|
end
|
101
210
|
end
|
@@ -1,36 +1,43 @@
|
|
1
1
|
require "test_helper"
|
2
2
|
|
3
3
|
describe Nephophobia::User do
|
4
|
+
##
|
5
|
+
# Note:
|
6
|
+
# Assumes there is always at least one valid project.
|
7
|
+
# Projects are core functionality to nova networking.
|
8
|
+
# We will always have at least one project configured.
|
9
|
+
|
4
10
|
before do
|
5
|
-
@
|
6
|
-
@
|
11
|
+
@user_name = "vcr_user"
|
12
|
+
@project_name = "sandbox"
|
13
|
+
@user = ::Client.with(:admin).user
|
7
14
|
end
|
8
15
|
|
9
16
|
describe "#create" do
|
10
|
-
|
17
|
+
before do
|
11
18
|
VCR.use_cassette "user_create" do
|
12
|
-
response = @user.create @user_name
|
13
|
-
|
14
|
-
response.username.must_equal @user_name
|
19
|
+
@response = @user.create @user_name
|
15
20
|
end
|
16
21
|
end
|
17
|
-
end
|
18
|
-
|
19
|
-
describe "#credentials" do
|
20
|
-
before { @project_name = "vcr_project" }
|
21
22
|
|
22
|
-
|
23
|
-
VCR.use_cassette "
|
24
|
-
|
23
|
+
after do
|
24
|
+
VCR.use_cassette "user_create" do
|
25
|
+
@user.destroy @user_name
|
26
|
+
end
|
27
|
+
end
|
25
28
|
|
26
|
-
|
29
|
+
it "creates the user name" do
|
30
|
+
VCR.use_cassette "user_create" do
|
31
|
+
@response.username.must_equal @user_name
|
27
32
|
end
|
28
33
|
end
|
29
34
|
end
|
30
35
|
|
31
36
|
describe "#destroy" do
|
32
|
-
it "destroys the
|
37
|
+
it "destroys the user name" do
|
33
38
|
VCR.use_cassette "user_destroy" do
|
39
|
+
@user.create @user_name
|
40
|
+
|
34
41
|
response = @user.destroy @user_name
|
35
42
|
|
36
43
|
response.return.must_equal true
|
@@ -41,25 +48,31 @@ describe Nephophobia::User do
|
|
41
48
|
describe "#find" do
|
42
49
|
before do
|
43
50
|
VCR.use_cassette "user_find" do
|
51
|
+
@user.create @user_name
|
52
|
+
|
44
53
|
@response = @user.find @user_name
|
45
54
|
end
|
46
55
|
end
|
47
56
|
|
48
|
-
|
57
|
+
after do
|
58
|
+
VCR.use_cassette "user_find" do
|
59
|
+
@user.destroy @user_name
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
it "returns the user name" do
|
49
64
|
@response.username.must_equal @user_name
|
50
65
|
end
|
51
66
|
|
52
67
|
it "contains the user data" do
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
user.secretkey.must_equal "a0d9ff15-2b76-416c-b6fb-03f63c4b8413"
|
57
|
-
user.accesskey.must_equal "285db1a2-4c3b-4f35-a36f-1e5495fa94f2"
|
68
|
+
@response.username.must_equal @user_name
|
69
|
+
@response.secretkey.must_match %r{[a-z0-9-]+}
|
70
|
+
@response.accesskey.must_match %r{[a-z0-9-]+}
|
58
71
|
end
|
59
72
|
end
|
60
73
|
|
61
74
|
describe "#find with invalid user_name" do
|
62
|
-
it "
|
75
|
+
it "returns nil" do
|
63
76
|
VCR.use_cassette "user_find_with_invalid_user_name" do
|
64
77
|
@response = @user.find "invalid_user_name"
|
65
78
|
end
|
@@ -70,17 +83,24 @@ describe Nephophobia::User do
|
|
70
83
|
|
71
84
|
describe "#register" do
|
72
85
|
before do
|
73
|
-
@
|
74
|
-
@
|
75
|
-
@project = ::Client.with(:admin).project
|
76
|
-
end
|
86
|
+
@role = ::Client.with(:admin).role
|
87
|
+
@project = ::Client.with(:admin).project
|
77
88
|
|
78
|
-
it "applies a set of global and per-project permissions to the given 'user_name'" do
|
79
89
|
VCR.use_cassette "user_register" do
|
90
|
+
@user.create @user_name
|
91
|
+
|
80
92
|
@response = @user.register @user_name, @project_name
|
81
93
|
end
|
94
|
+
end
|
95
|
+
|
96
|
+
after do
|
97
|
+
VCR.use_cassette "user_register" do
|
98
|
+
@user.destroy @user_name
|
99
|
+
end
|
100
|
+
end
|
82
101
|
|
83
|
-
|
102
|
+
it "applies a set of global and per-project permissions to user name" do
|
103
|
+
VCR.use_cassette "user_register_asserts" do
|
84
104
|
@role.all(@user_name).first.name.must_equal "sysadmin"
|
85
105
|
@role.all(@user_name, @project_name).first.name.must_equal "sysadmin"
|
86
106
|
@project.member?(@user_name, @project_name).must_equal true
|
data/test/test_helper.rb
CHANGED
@@ -8,10 +8,10 @@ require "nokogiri"
|
|
8
8
|
require "vcr"
|
9
9
|
|
10
10
|
class MiniTest::Unit::TestCase
|
11
|
-
def cassette_for cassette
|
11
|
+
def cassette_for cassette, interaction = 0
|
12
12
|
c = VCR::Cassette.new(cassette).send :recorded_interactions
|
13
13
|
|
14
|
-
Nokogiri::XML::Document.parse c.
|
14
|
+
Nokogiri::XML::Document.parse c[interaction].response.body
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
@@ -24,14 +24,15 @@ end
|
|
24
24
|
class Client
|
25
25
|
def self.with type, options = {}
|
26
26
|
client_options = case type
|
27
|
-
when :user
|
28
|
-
|
27
|
+
when :user ; {
|
28
|
+
:access_key => "beeb1bd0-c920-4352-b078-5f297a0899a0",
|
29
|
+
:secret_key => "5bf3d424-bcf1-4684-8fb0-2aaec275f896"
|
30
|
+
}
|
29
31
|
when :admin ; {
|
30
|
-
:access_key => "
|
31
|
-
:secret_key => "
|
32
|
-
:project => "production"
|
32
|
+
:access_key => "03982c2e-8e28-40b6-95e2-f2811383b4a2",
|
33
|
+
:secret_key => "a523e209-64cf-4d7a-978e-7bf3d5d0ca7e"
|
33
34
|
}
|
34
|
-
end.merge(:host => "10.
|
35
|
+
end.merge(:host => "10.3.170.32", :project => "sandbox")
|
35
36
|
|
36
37
|
Nephophobia::Client.new client_options.merge options
|
37
38
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: nephophobia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0
|
5
|
+
version: 0.1.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- John Dewey
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-04-
|
14
|
+
date: 2011-04-19 00:00:00 -07:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
@@ -101,6 +101,7 @@ files:
|
|
101
101
|
- lib/nephophobia.rb
|
102
102
|
- lib/nephophobia/client.rb
|
103
103
|
- lib/nephophobia/compute.rb
|
104
|
+
- lib/nephophobia/credential.rb
|
104
105
|
- lib/nephophobia/image.rb
|
105
106
|
- lib/nephophobia/project.rb
|
106
107
|
- lib/nephophobia/role.rb
|
@@ -109,33 +110,32 @@ files:
|
|
109
110
|
- nephophobia.gemspec
|
110
111
|
- test/cassettes/compute_all.yml
|
111
112
|
- test/cassettes/compute_all_with_filter.yml
|
112
|
-
- test/cassettes/compute_all_with_string_into_int_error.yml
|
113
113
|
- test/cassettes/compute_create.yml
|
114
114
|
- test/cassettes/compute_create_with_optional_params.yml
|
115
115
|
- test/cassettes/compute_destroy.yml
|
116
116
|
- test/cassettes/compute_find.yml
|
117
117
|
- test/cassettes/compute_reboot.yml
|
118
|
+
- test/cassettes/credential_all.yml
|
119
|
+
- test/cassettes/credential_all_without_keys.yml
|
120
|
+
- test/cassettes/credential_create.yml
|
121
|
+
- test/cassettes/credential_destroy.yml
|
118
122
|
- test/cassettes/image_all.yml
|
119
123
|
- test/cassettes/image_all_with_filter.yml
|
120
|
-
- test/cassettes/image_all_with_string_into_int_error.yml
|
121
124
|
- test/cassettes/image_find.yml
|
122
125
|
- test/cassettes/project_add_member.yml
|
123
126
|
- test/cassettes/project_all.yml
|
124
|
-
- test/cassettes/
|
125
|
-
- test/cassettes/project_all_with_with_user_name.yml
|
127
|
+
- test/cassettes/project_all_with_user_name.yml
|
126
128
|
- test/cassettes/project_create.yml
|
127
129
|
- test/cassettes/project_destroy.yml
|
128
130
|
- test/cassettes/project_find.yml
|
129
131
|
- test/cassettes/project_find_with_invalid_project_name.yml
|
132
|
+
- test/cassettes/project_member.yml
|
130
133
|
- test/cassettes/project_members.yml
|
131
134
|
- test/cassettes/project_members_with_invalid_project_name.yml
|
132
|
-
- test/cassettes/project_members_with_no_members.yml
|
133
|
-
- test/cassettes/project_members_with_string_into_int_error.yml
|
134
135
|
- test/cassettes/project_remove_member.yml
|
135
136
|
- test/cassettes/role_all.yml
|
136
|
-
- test/cassettes/role_all_with_no_roles.yml
|
137
137
|
- test/cassettes/role_all_with_project_name.yml
|
138
|
-
- test/cassettes/
|
138
|
+
- test/cassettes/role_all_without_roles.yml
|
139
139
|
- test/cassettes/role_create.yml
|
140
140
|
- test/cassettes/role_create_with_project_name.yml
|
141
141
|
- test/cassettes/role_create_with_project_name_and_role_name.yml
|
@@ -143,15 +143,15 @@ files:
|
|
143
143
|
- test/cassettes/role_destroy_with_project_name.yml
|
144
144
|
- test/cassettes/role_destroy_with_project_name_and_role_name.yml
|
145
145
|
- test/cassettes/user_create.yml
|
146
|
-
- test/cassettes/user_credentials.yml
|
147
146
|
- test/cassettes/user_destroy.yml
|
148
147
|
- test/cassettes/user_find.yml
|
149
148
|
- test/cassettes/user_find_with_invalid_user_name.yml
|
150
149
|
- test/cassettes/user_register.yml
|
151
|
-
- test/cassettes/
|
150
|
+
- test/cassettes/user_register_asserts.yml
|
152
151
|
- test/lib/aws_test.rb
|
153
152
|
- test/lib/hashify_test.rb
|
154
153
|
- test/lib/nephophobia/compute_test.rb
|
154
|
+
- test/lib/nephophobia/credential_test.rb
|
155
155
|
- test/lib/nephophobia/image_test.rb
|
156
156
|
- test/lib/nephophobia/project_test.rb
|
157
157
|
- test/lib/nephophobia/role_test.rb
|
@@ -189,33 +189,32 @@ summary: Bindings to EC2/OpenStack
|
|
189
189
|
test_files:
|
190
190
|
- test/cassettes/compute_all.yml
|
191
191
|
- test/cassettes/compute_all_with_filter.yml
|
192
|
-
- test/cassettes/compute_all_with_string_into_int_error.yml
|
193
192
|
- test/cassettes/compute_create.yml
|
194
193
|
- test/cassettes/compute_create_with_optional_params.yml
|
195
194
|
- test/cassettes/compute_destroy.yml
|
196
195
|
- test/cassettes/compute_find.yml
|
197
196
|
- test/cassettes/compute_reboot.yml
|
197
|
+
- test/cassettes/credential_all.yml
|
198
|
+
- test/cassettes/credential_all_without_keys.yml
|
199
|
+
- test/cassettes/credential_create.yml
|
200
|
+
- test/cassettes/credential_destroy.yml
|
198
201
|
- test/cassettes/image_all.yml
|
199
202
|
- test/cassettes/image_all_with_filter.yml
|
200
|
-
- test/cassettes/image_all_with_string_into_int_error.yml
|
201
203
|
- test/cassettes/image_find.yml
|
202
204
|
- test/cassettes/project_add_member.yml
|
203
205
|
- test/cassettes/project_all.yml
|
204
|
-
- test/cassettes/
|
205
|
-
- test/cassettes/project_all_with_with_user_name.yml
|
206
|
+
- test/cassettes/project_all_with_user_name.yml
|
206
207
|
- test/cassettes/project_create.yml
|
207
208
|
- test/cassettes/project_destroy.yml
|
208
209
|
- test/cassettes/project_find.yml
|
209
210
|
- test/cassettes/project_find_with_invalid_project_name.yml
|
211
|
+
- test/cassettes/project_member.yml
|
210
212
|
- test/cassettes/project_members.yml
|
211
213
|
- test/cassettes/project_members_with_invalid_project_name.yml
|
212
|
-
- test/cassettes/project_members_with_no_members.yml
|
213
|
-
- test/cassettes/project_members_with_string_into_int_error.yml
|
214
214
|
- test/cassettes/project_remove_member.yml
|
215
215
|
- test/cassettes/role_all.yml
|
216
|
-
- test/cassettes/role_all_with_no_roles.yml
|
217
216
|
- test/cassettes/role_all_with_project_name.yml
|
218
|
-
- test/cassettes/
|
217
|
+
- test/cassettes/role_all_without_roles.yml
|
219
218
|
- test/cassettes/role_create.yml
|
220
219
|
- test/cassettes/role_create_with_project_name.yml
|
221
220
|
- test/cassettes/role_create_with_project_name_and_role_name.yml
|
@@ -223,15 +222,15 @@ test_files:
|
|
223
222
|
- test/cassettes/role_destroy_with_project_name.yml
|
224
223
|
- test/cassettes/role_destroy_with_project_name_and_role_name.yml
|
225
224
|
- test/cassettes/user_create.yml
|
226
|
-
- test/cassettes/user_credentials.yml
|
227
225
|
- test/cassettes/user_destroy.yml
|
228
226
|
- test/cassettes/user_find.yml
|
229
227
|
- test/cassettes/user_find_with_invalid_user_name.yml
|
230
228
|
- test/cassettes/user_register.yml
|
231
|
-
- test/cassettes/
|
229
|
+
- test/cassettes/user_register_asserts.yml
|
232
230
|
- test/lib/aws_test.rb
|
233
231
|
- test/lib/hashify_test.rb
|
234
232
|
- test/lib/nephophobia/compute_test.rb
|
233
|
+
- test/lib/nephophobia/credential_test.rb
|
235
234
|
- test/lib/nephophobia/image_test.rb
|
236
235
|
- test/lib/nephophobia/project_test.rb
|
237
236
|
- test/lib/nephophobia/role_test.rb
|