netscaler 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/Gemfile +5 -5
- data/Gemfile.lock +42 -29
- data/VERSION +1 -1
- data/lib/netscaler/connection.rb +6 -0
- data/lib/netscaler/cs/vserver/bind.rb +6 -0
- data/lib/netscaler/lb/monitor.rb +28 -0
- data/lib/netscaler/servicegroup.rb +4 -1
- data/lib/netscaler/ssl.rb +17 -0
- data/lib/netscaler/ssl/vserver.rb +55 -0
- data/lib/netscaler/ssl/vserver/bind.rb +21 -0
- data/lib/netscaler/ssl/vserver/unbind.rb +18 -0
- data/netscaler.gemspec +25 -20
- data/spec/csvserver_spec.rb +36 -36
- data/spec/lbvserver_spec.rb +29 -29
- data/spec/netscaler_spec.rb +5 -5
- data/spec/policy_stringmap_spec.rb +11 -11
- data/spec/responder_spec.rb +8 -8
- data/spec/rewrite_spec.rb +8 -8
- data/spec/server_spec.rb +12 -12
- data/spec/service_spec.rb +5 -5
- data/spec/servicegroup_spec.rb +17 -17
- data/spec/sslvserver_spec.rb +131 -0
- metadata +20 -15
data/spec/csvserver_spec.rb
CHANGED
@@ -11,54 +11,54 @@ describe Netscaler::Cs::Vserver do
|
|
11
11
|
it 'a name is required' do
|
12
12
|
expect {
|
13
13
|
connection.cs.vserver.add(:serviceType => 'HTTP', :port => '80', :ipv46 => '1.1.1.1')
|
14
|
-
}.
|
14
|
+
}.to raise_error(ArgumentError, /name/)
|
15
15
|
end
|
16
16
|
|
17
17
|
it 'a service type is required' do
|
18
18
|
expect {
|
19
19
|
connection.cs.vserver.add(:name => 'foo', :port => '80', :ipv46 => '1.1.1.1')
|
20
|
-
}.
|
20
|
+
}.to raise_error(ArgumentError, /serviceType/)
|
21
21
|
end
|
22
22
|
|
23
23
|
it 'a port is required' do
|
24
24
|
expect {
|
25
25
|
connection.cs.vserver.add(:name => 'foo', :serviceType => 'HTTP', :ipv46 => '1.1.1.1')
|
26
|
-
}.
|
26
|
+
}.to raise_error(ArgumentError, /port/)
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'a ipv46 is required' do
|
30
30
|
expect {
|
31
31
|
connection.cs.vserver.add(:name => 'foo', :serviceType => 'HTTP', :port => '80')
|
32
|
-
}.
|
32
|
+
}.to raise_error(ArgumentError, /ipv46/)
|
33
33
|
end
|
34
34
|
|
35
35
|
it 'return hash when supplied all required params' do
|
36
36
|
result = connection.cs.vserver.add(:name => 'foo', :serviceType => 'HTTP', :port => '80', :ipv46 => '1.1.1.1')
|
37
|
-
result.
|
37
|
+
expect(result).to be_kind_of(Hash)
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
41
|
context 'when using the show method in Cs::Vserver' do
|
42
42
|
it 'with no param used it will return all vservers' do
|
43
43
|
result = connection.cs.vserver.show
|
44
|
-
result.
|
44
|
+
expect(result).to be_kind_of(Hash)
|
45
45
|
end
|
46
46
|
|
47
47
|
it 'supplying the name parameter will return Hash' do
|
48
48
|
result = connection.cs.vserver.show :name => 'foo'
|
49
|
-
result.
|
49
|
+
expect(result).to be_kind_of(Hash)
|
50
50
|
end
|
51
51
|
|
52
52
|
it 'when showing a particular lb vserver string is invalid' do
|
53
53
|
expect {
|
54
54
|
connection.cs.vserver.show('asdf')
|
55
|
-
}.
|
55
|
+
}.to raise_error(TypeError, /conver(t|sion)/)
|
56
56
|
end
|
57
57
|
|
58
58
|
it 'when showing a particular lb vserver :name is required' do
|
59
59
|
expect {
|
60
60
|
connection.cs.vserver.show(:foo => 'bar')
|
61
|
-
}.
|
61
|
+
}.to raise_error(ArgumentError, /name/)
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
@@ -66,18 +66,18 @@ describe Netscaler::Cs::Vserver do
|
|
66
66
|
it 'a name is required' do
|
67
67
|
expect {
|
68
68
|
connection.cs.vserver.remove()
|
69
|
-
}.
|
69
|
+
}.to raise_error(ArgumentError, /wrong number/)
|
70
70
|
end
|
71
71
|
|
72
72
|
it 'throw an arg error if :name arg is missing' do
|
73
73
|
expect {
|
74
74
|
connection.cs.vserver.remove(:foo => 'bar')
|
75
|
-
}.
|
75
|
+
}.to raise_error(ArgumentError, /name/)
|
76
76
|
end
|
77
77
|
|
78
78
|
it 'should return a hash if :name is supplied' do
|
79
79
|
result = connection.cs.vserver.remove :name => 'foo'
|
80
|
-
result.
|
80
|
+
expect(result).to be_kind_of(Hash)
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
@@ -85,18 +85,18 @@ describe Netscaler::Cs::Vserver do
|
|
85
85
|
it 'should throw an error if there is no arg' do
|
86
86
|
expect {
|
87
87
|
connection.cs.vserver.show_binding()
|
88
|
-
}.
|
88
|
+
}.to raise_error(ArgumentError, /wrong number/)
|
89
89
|
end
|
90
90
|
|
91
91
|
it 'throw an arg error if :name arg is missing' do
|
92
92
|
expect {
|
93
93
|
connection.cs.vserver.show_binding(:foo => 'bar')
|
94
|
-
}.
|
94
|
+
}.to raise_error(ArgumentError, /name/)
|
95
95
|
end
|
96
96
|
|
97
97
|
it 'should return a hash if :name is supplied' do
|
98
98
|
result = connection.cs.vserver.show_binding :name => 'foo'
|
99
|
-
result.
|
99
|
+
expect(result).to be_kind_of(Hash)
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
@@ -104,29 +104,29 @@ describe Netscaler::Cs::Vserver do
|
|
104
104
|
it 'should throw an error if :name arg is not given' do
|
105
105
|
expect {
|
106
106
|
connection.cs.vserver.bind.cs_policy :serviceName => 'foo'
|
107
|
-
}.
|
107
|
+
}.to raise_error(ArgumentError, /name/)
|
108
108
|
expect {
|
109
109
|
connection.cs.vserver.unbind.cs_policy :serviceName => 'foo'
|
110
|
-
}.
|
110
|
+
}.to raise_error(ArgumentError, /name/)
|
111
111
|
end
|
112
112
|
|
113
113
|
it 'should throw an error if :targetvserver arg is not given' do
|
114
114
|
expect {
|
115
115
|
connection.cs.vserver.bind.cs_policy :name => 'foo'
|
116
|
-
}.
|
116
|
+
}.to raise_error(ArgumentError, /targetvserver/)
|
117
117
|
|
118
118
|
#This is actually not expected when unbinding.
|
119
119
|
# expect {
|
120
120
|
# connection.cs.vserver.unbind.cs_policy :name => 'foo'
|
121
|
-
# }.
|
121
|
+
# }.to raise_error(ArgumentError, /targetvserver/)
|
122
122
|
|
123
123
|
end
|
124
124
|
|
125
125
|
it 'should return a Hash if all require arguments are supplied' do
|
126
126
|
result = connection.cs.vserver.bind.cs_policy :name => 'foo', :targetvserver => 'bar'
|
127
|
-
result.
|
127
|
+
expect(result).to be_kind_of(Hash)
|
128
128
|
unbind_result = connection.cs.vserver.unbind.cs_policy :name => 'foo'
|
129
|
-
unbind_result.
|
129
|
+
expect(unbind_result).to be_kind_of(Hash)
|
130
130
|
|
131
131
|
end
|
132
132
|
end
|
@@ -135,41 +135,41 @@ describe Netscaler::Cs::Vserver do
|
|
135
135
|
it 'should throw an error if :name arg is not given' do
|
136
136
|
expect {
|
137
137
|
connection.cs.vserver.bind.rewrite_policy :policyName => 'bar', :priority => '10', :bindpoint => 'request'
|
138
|
-
}.
|
138
|
+
}.to raise_error(ArgumentError, /name/)
|
139
139
|
|
140
140
|
expect {
|
141
141
|
connection.cs.vserver.unbind.rewrite_policy :policyName => 'bar', :priority => '10', :bindpoint => 'request'
|
142
|
-
}.
|
142
|
+
}.to raise_error(ArgumentError, /name/)
|
143
143
|
|
144
144
|
end
|
145
145
|
|
146
146
|
it 'should throw an error if :policyName arg is not given' do
|
147
147
|
expect {
|
148
148
|
connection.cs.vserver.bind.rewrite_policy :name => 'foo', :priority => '10', :bindpoint => 'request'
|
149
|
-
}.
|
149
|
+
}.to raise_error(ArgumentError, /policyName/)
|
150
150
|
|
151
151
|
expect {
|
152
152
|
connection.cs.vserver.unbind.rewrite_policy :name => 'foo', :priority => '10', :bindpoint => 'request'
|
153
|
-
}.
|
153
|
+
}.to raise_error(ArgumentError, /policyName/)
|
154
154
|
end
|
155
155
|
|
156
156
|
it 'should throw an error if :priority arg is not given' do
|
157
157
|
expect {
|
158
158
|
connection.cs.vserver.bind.rewrite_policy :name => 'foo', :policyName => 'bar', :bindpoint => 'request'
|
159
|
-
}.
|
159
|
+
}.to raise_error(ArgumentError, /priority/)
|
160
160
|
end
|
161
161
|
|
162
162
|
it 'should throw an error if :bindpoint arg is not given' do
|
163
163
|
expect {
|
164
164
|
connection.cs.vserver.bind.rewrite_policy :name => 'foo', :policyName => 'bar', :priority => '10'
|
165
|
-
}.
|
165
|
+
}.to raise_error(ArgumentError, /bindpoint/)
|
166
166
|
end
|
167
167
|
|
168
168
|
it 'should return a Hash if all require arguments are supplied' do
|
169
169
|
result = connection.cs.vserver.bind.rewrite_policy :name => 'foo', :policyName => 'bar', :priority => '10', :bindpoint => 'request'
|
170
|
-
result.
|
170
|
+
expect(result).to be_kind_of(Hash)
|
171
171
|
unbind_result = connection.cs.vserver.unbind.rewrite_policy :name => 'foo', :policyName => 'bar'
|
172
|
-
unbind_result.
|
172
|
+
expect(unbind_result).to be_kind_of(Hash)
|
173
173
|
end
|
174
174
|
end
|
175
175
|
|
@@ -177,35 +177,35 @@ describe Netscaler::Cs::Vserver do
|
|
177
177
|
it 'should throw an error if :name arg is not given' do
|
178
178
|
expect {
|
179
179
|
connection.cs.vserver.bind.responder_policy :policyName => 'bar', :priority => '10'
|
180
|
-
}.
|
180
|
+
}.to raise_error(ArgumentError, /name/)
|
181
181
|
|
182
182
|
expect {
|
183
183
|
connection.cs.vserver.unbind.responder_policy :policyName => 'bar', :priority => '10'
|
184
|
-
}.
|
184
|
+
}.to raise_error(ArgumentError, /name/)
|
185
185
|
|
186
186
|
end
|
187
187
|
|
188
188
|
it 'should throw an error if :policyName arg is not given' do
|
189
189
|
expect {
|
190
190
|
connection.cs.vserver.bind.responder_policy :name => 'foo', :priority => '10'
|
191
|
-
}.
|
191
|
+
}.to raise_error(ArgumentError, /policyName/)
|
192
192
|
|
193
193
|
expect {
|
194
194
|
connection.cs.vserver.unbind.responder_policy :name => 'foo', :priority => '10'
|
195
|
-
}.
|
195
|
+
}.to raise_error(ArgumentError, /policyName/)
|
196
196
|
end
|
197
197
|
|
198
198
|
it 'should throw an error if :priority arg is not given' do
|
199
199
|
expect {
|
200
200
|
connection.cs.vserver.bind.responder_policy :name => 'foo', :policyName => 'bar'
|
201
|
-
}.
|
201
|
+
}.to raise_error(ArgumentError, /priority/)
|
202
202
|
end
|
203
203
|
|
204
204
|
it 'should return a Hash if all require arguments are supplied' do
|
205
205
|
result = connection.cs.vserver.bind.responder_policy :name => 'foo', :policyName => 'bar', :priority => '10', :bindpoint => 'request'
|
206
|
-
result.
|
206
|
+
expect(result).to be_kind_of(Hash)
|
207
207
|
unbind_result = connection.cs.vserver.unbind.responder_policy :name => 'foo', :policyName => 'bar'
|
208
|
-
unbind_result.
|
208
|
+
expect(unbind_result).to be_kind_of(Hash)
|
209
209
|
end
|
210
210
|
end
|
211
211
|
|
data/spec/lbvserver_spec.rb
CHANGED
@@ -11,54 +11,54 @@ describe Netscaler::Lb::Vserver do
|
|
11
11
|
it 'a name is required' do
|
12
12
|
expect {
|
13
13
|
connection.lb.vserver.add(:serviceType => 'HTTP', :port => '80', :ipv46 => '1.1.1.1')
|
14
|
-
}.
|
14
|
+
}.to raise_error(ArgumentError, /name/)
|
15
15
|
end
|
16
16
|
|
17
17
|
it 'a service type is required' do
|
18
18
|
expect {
|
19
19
|
connection.lb.vserver.add(:name => 'foo', :port => '80', :ipv46 => '1.1.1.1')
|
20
|
-
}.
|
20
|
+
}.to raise_error(ArgumentError, /serviceType/)
|
21
21
|
end
|
22
22
|
|
23
23
|
it 'a port is required' do
|
24
24
|
expect {
|
25
25
|
connection.lb.vserver.add(:name => 'foo', :serviceType => 'HTTP', :ipv46 => '1.1.1.1')
|
26
|
-
}.
|
26
|
+
}.to raise_error(ArgumentError, /port/)
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'a ipv46 is required' do
|
30
30
|
expect {
|
31
31
|
connection.lb.vserver.add(:name => 'foo', :serviceType => 'HTTP', :port => '80')
|
32
|
-
}.
|
32
|
+
}.to raise_error(ArgumentError, /ipv46/)
|
33
33
|
end
|
34
34
|
|
35
35
|
it 'return hash when supplied all required params' do
|
36
36
|
result = connection.lb.vserver.add(:name => 'foo', :serviceType => 'HTTP', :port => '80', :ipv46 => '1.1.1.1')
|
37
|
-
result.
|
37
|
+
expect(result).to be_kind_of(Hash)
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
41
|
context 'when using the show method in Lb::Vserver' do
|
42
42
|
it 'with no param used it will return all vservers' do
|
43
43
|
result = connection.lb.vserver.show
|
44
|
-
result.
|
44
|
+
expect(result).to be_kind_of(Hash)
|
45
45
|
end
|
46
46
|
|
47
47
|
it 'supplying the name parameter will return Hash' do
|
48
48
|
result = connection.lb.vserver.show :name => 'foo'
|
49
|
-
result.
|
49
|
+
expect(result).to be_kind_of(Hash)
|
50
50
|
end
|
51
51
|
|
52
52
|
it 'when showing a particular lb vserver string is invalid' do
|
53
53
|
expect {
|
54
54
|
connection.lb.vserver.show('asdf')
|
55
|
-
}.
|
55
|
+
}.to raise_error(TypeError, /conver(t|sion)/)
|
56
56
|
end
|
57
57
|
|
58
58
|
it 'when showing a particular lb vserver :name is required' do
|
59
59
|
expect {
|
60
60
|
connection.lb.vserver.show(:foo => 'bar')
|
61
|
-
}.
|
61
|
+
}.to raise_error(ArgumentError, /name/)
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
@@ -66,18 +66,18 @@ describe Netscaler::Lb::Vserver do
|
|
66
66
|
it 'a name is required' do
|
67
67
|
expect {
|
68
68
|
connection.lb.vserver.remove()
|
69
|
-
}.
|
69
|
+
}.to raise_error(ArgumentError, /wrong number/)
|
70
70
|
end
|
71
71
|
|
72
72
|
it 'throw an arg error if :name arg is missing' do
|
73
73
|
expect {
|
74
74
|
connection.lb.vserver.remove(:foo => 'bar')
|
75
|
-
}.
|
75
|
+
}.to raise_error(ArgumentError, /name/)
|
76
76
|
end
|
77
77
|
|
78
78
|
it 'should return a hash if :name is supplied' do
|
79
79
|
result = connection.lb.vserver.remove :name => 'foo'
|
80
|
-
result.
|
80
|
+
expect(result).to be_kind_of(Hash)
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
@@ -85,18 +85,18 @@ describe Netscaler::Lb::Vserver do
|
|
85
85
|
it 'should throw an error if there is no arg' do
|
86
86
|
expect {
|
87
87
|
connection.lb.vserver.show_binding()
|
88
|
-
}.
|
88
|
+
}.to raise_error(ArgumentError, /wrong number/)
|
89
89
|
end
|
90
90
|
|
91
91
|
it 'throw an arg error if :name arg is missing' do
|
92
92
|
expect {
|
93
93
|
connection.lb.vserver.show_binding(:foo => 'bar')
|
94
|
-
}.
|
94
|
+
}.to raise_error(ArgumentError, /name/)
|
95
95
|
end
|
96
96
|
|
97
97
|
it 'should return a hash if :name is supplied' do
|
98
98
|
result = connection.lb.vserver.show_binding :name => 'foo'
|
99
|
-
result.
|
99
|
+
expect(result).to be_kind_of(Hash)
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
@@ -104,28 +104,28 @@ describe Netscaler::Lb::Vserver do
|
|
104
104
|
it 'should throw an error if :name arg is not given' do
|
105
105
|
expect {
|
106
106
|
connection.lb.vserver.bind.service :serviceName => 'foo'
|
107
|
-
}.
|
107
|
+
}.to raise_error(ArgumentError, /name/)
|
108
108
|
expect {
|
109
109
|
connection.lb.vserver.unbind.service :serviceName => 'foo'
|
110
|
-
}.
|
110
|
+
}.to raise_error(ArgumentError, /name/)
|
111
111
|
end
|
112
112
|
|
113
113
|
it 'should throw an error if :serviceName arg is not given' do
|
114
114
|
expect {
|
115
115
|
connection.lb.vserver.bind.service :name => 'foo'
|
116
|
-
}.
|
116
|
+
}.to raise_error(ArgumentError, /serviceName/)
|
117
117
|
|
118
118
|
expect {
|
119
119
|
connection.lb.vserver.unbind.service :name => 'foo'
|
120
|
-
}.
|
120
|
+
}.to raise_error(ArgumentError, /serviceName/)
|
121
121
|
|
122
122
|
end
|
123
123
|
|
124
124
|
it 'should return a Hash if all require arguments are supplied' do
|
125
125
|
result = connection.lb.vserver.bind.service :name => 'foo', :serviceName => ''
|
126
|
-
result.
|
126
|
+
expect(result).to be_kind_of(Hash)
|
127
127
|
unbind_result = connection.lb.vserver.unbind.service :name => 'foo', :serviceName => ''
|
128
|
-
unbind_result.
|
128
|
+
expect(unbind_result).to be_kind_of(Hash)
|
129
129
|
|
130
130
|
end
|
131
131
|
end
|
@@ -134,41 +134,41 @@ describe Netscaler::Lb::Vserver do
|
|
134
134
|
it 'should throw an error if :name arg is not given' do
|
135
135
|
expect {
|
136
136
|
connection.lb.vserver.bind.rewrite_policy :policyName => 'bar', :priority => '10', :bindpoint => 'request'
|
137
|
-
}.
|
137
|
+
}.to raise_error(ArgumentError, /name/)
|
138
138
|
|
139
139
|
expect {
|
140
140
|
connection.lb.vserver.unbind.rewrite_policy :policyName => 'bar', :priority => '10', :bindpoint => 'request'
|
141
|
-
}.
|
141
|
+
}.to raise_error(ArgumentError, /name/)
|
142
142
|
|
143
143
|
end
|
144
144
|
|
145
145
|
it 'should throw an error if :policyName arg is not given' do
|
146
146
|
expect {
|
147
147
|
connection.lb.vserver.bind.rewrite_policy :name => 'foo', :priority => '10', :bindpoint => 'request'
|
148
|
-
}.
|
148
|
+
}.to raise_error(ArgumentError, /policyName/)
|
149
149
|
|
150
150
|
expect {
|
151
151
|
connection.lb.vserver.unbind.rewrite_policy :name => 'foo', :priority => '10', :bindpoint => 'request'
|
152
|
-
}.
|
152
|
+
}.to raise_error(ArgumentError, /policyName/)
|
153
153
|
end
|
154
154
|
|
155
155
|
it 'should throw an error if :priority arg is not given' do
|
156
156
|
expect {
|
157
157
|
connection.lb.vserver.bind.rewrite_policy :name => 'foo', :policyName => 'bar', :bindpoint => 'request'
|
158
|
-
}.
|
158
|
+
}.to raise_error(ArgumentError, /priority/)
|
159
159
|
end
|
160
160
|
|
161
161
|
it 'should throw an error if :bindpoint arg is not given' do
|
162
162
|
expect {
|
163
163
|
connection.lb.vserver.bind.rewrite_policy :name => 'foo', :policyName => 'bar', :priority => '10'
|
164
|
-
}.
|
164
|
+
}.to raise_error(ArgumentError, /bindpoint/)
|
165
165
|
end
|
166
166
|
|
167
167
|
it 'should return a Hash if all require arguments are supplied' do
|
168
168
|
result = connection.lb.vserver.bind.rewrite_policy :name => 'foo', :policyName => 'bar', :priority => '10', :bindpoint => 'request'
|
169
|
-
result.
|
169
|
+
expect(result).to be_kind_of(Hash)
|
170
170
|
unbind_result = connection.lb.vserver.unbind.rewrite_policy :name => 'foo', :policyName => 'bar'
|
171
|
-
unbind_result.
|
171
|
+
expect(unbind_result).to be_kind_of(Hash)
|
172
172
|
end
|
173
173
|
end
|
174
174
|
|
data/spec/netscaler_spec.rb
CHANGED
@@ -7,17 +7,17 @@ describe Netscaler do
|
|
7
7
|
it 'a hostname is required' do
|
8
8
|
expect {
|
9
9
|
netscaler = Netscaler::Connection.new 'username'=> 'foo', 'password' => 'bar'
|
10
|
-
}.
|
10
|
+
}.to raise_error(ArgumentError, /hostname/)
|
11
11
|
end
|
12
12
|
it 'a username is required' do
|
13
13
|
expect {
|
14
14
|
netscaler = Netscaler::Connection.new 'hostname'=> 'foo', 'password' => 'bar'
|
15
|
-
}.
|
15
|
+
}.to raise_error(ArgumentError, /username/)
|
16
16
|
end
|
17
17
|
it 'a password is required' do
|
18
18
|
expect {
|
19
19
|
netscaler = Netscaler::Connection.new 'username'=> 'foo', 'hostname' => 'bar'
|
20
|
-
}.
|
20
|
+
}.to raise_error(ArgumentError, /password/)
|
21
21
|
end
|
22
22
|
it 'verify_ssl should be true' do
|
23
23
|
netscaler = Netscaler::Connection.new 'username'=> 'foo', 'hostname' => 'bar', 'password' => 'baz'
|
@@ -36,8 +36,8 @@ describe Netscaler do
|
|
36
36
|
netscaler = Netscaler::Connection.new 'username'=> 'foo', 'hostname' => 'bar', 'password' => 'asdf'
|
37
37
|
netscaler.adapter = Netscaler::MockAdapter.new :body => '{ "errorcode": 0, "message": "Done", "sessionid": "##074E17E8CD4C9E95A206C2A5E543D82BCDA57F16A7BE74F985733D6C241B" }'
|
38
38
|
result = netscaler.login
|
39
|
-
result.
|
40
|
-
result.
|
39
|
+
expect(result).to be_a_kind_of(String)
|
40
|
+
expect(result).to eq("##074E17E8CD4C9E95A206C2A5E543D82BCDA57F16A7BE74F985733D6C241B")
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|