mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[bluebox|blb] testing stubs
This commit is contained in:
parent
1cee25c886
commit
a5e2542db4
2 changed files with 30 additions and 0 deletions
21
tests/bluebox/requests/blb/helper.rb
Normal file
21
tests/bluebox/requests/blb/helper.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
class Bluebox
|
||||
module BLB
|
||||
module Formats
|
||||
LB_APPLICATION = {
|
||||
'id' => String,
|
||||
'ip_v4' => String,
|
||||
'ip_v6' => String,
|
||||
'name' => String,
|
||||
'lb_services' => Array,
|
||||
'source_ip_v4' => Fog::Nullable::String,
|
||||
}
|
||||
|
||||
ADD_MACHINE_TO_LB = {
|
||||
'status' => String,
|
||||
'text' => String,
|
||||
}
|
||||
|
||||
REMOVE_MACHINE_FROM_BACKEND = 'Record Removed.'
|
||||
end
|
||||
end
|
||||
end
|
9
tests/bluebox/requests/blb/lb_test.rb
Normal file
9
tests/bluebox/requests/blb/lb_test.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Shindo.tests('Bluebox::BLB | lb_tests', ['bluebox']) do
|
||||
pending if Fog.mocking?
|
||||
|
||||
tests('success') do
|
||||
end
|
||||
|
||||
tests('failure') do
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue