eilam_test 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE.txt +21 -0
- data/README.md +271 -0
- data/Rakefile +10 -0
- data/docs/AbstractCapability.md +20 -0
- data/docs/AbstractCapabilityApi.md +276 -0
- data/docs/Account.md +22 -0
- data/docs/AccountApi.md +346 -0
- data/docs/AccountPostRequest.md +20 -0
- data/docs/AccountPostResponse.md +24 -0
- data/docs/Address.md +32 -0
- data/docs/AddressApi.md +276 -0
- data/docs/AddressCreate.md +32 -0
- data/docs/AuthResponse.md +18 -0
- data/docs/Authentication.md +20 -0
- data/docs/AuthenticationApi.md +70 -0
- data/docs/AutoSDEProject.md +56 -0
- data/docs/AutoSDEProjectApi.md +276 -0
- data/docs/AutoSDERole.md +20 -0
- data/docs/AutoSDERoleApi.md +276 -0
- data/docs/CapabilityTranslation.md +36 -0
- data/docs/CapabilityTranslationApi.md +276 -0
- data/docs/CapabilityTranslationCreate.md +32 -0
- data/docs/Event.md +32 -0
- data/docs/EventApi.md +276 -0
- data/docs/Host.md +30 -0
- data/docs/HostApi.md +276 -0
- data/docs/HostCluster.md +34 -0
- data/docs/HostClusterApi.md +276 -0
- data/docs/HostClusterCreate.md +30 -0
- data/docs/HostClusterMembership.md +24 -0
- data/docs/HostClusterMembershipApi.md +276 -0
- data/docs/HostClusterResponse.md +34 -0
- data/docs/HostClusterVolumeMapping.md +26 -0
- data/docs/HostClusterVolumeMappingApi.md +276 -0
- data/docs/HostClusterVolumeMappingCreate.md +24 -0
- data/docs/HostClusterVolumeMappingResponse.md +26 -0
- data/docs/HostCreate.md +40 -0
- data/docs/HostVolumeConnection.md +24 -0
- data/docs/HostVolumeConnectionApi.md +276 -0
- data/docs/HostVolumeConnectionCreate.md +22 -0
- data/docs/Job.md +30 -0
- data/docs/JobApi.md +140 -0
- data/docs/JobCreate.md +20 -0
- data/docs/NativeCapability.md +24 -0
- data/docs/NativeCapabilityApi.md +276 -0
- data/docs/Profile.md +26 -0
- data/docs/ProfileApi.md +276 -0
- data/docs/ProvisioningStrategy.md +20 -0
- data/docs/ProvisioningStrategyApi.md +276 -0
- data/docs/Service.md +36 -0
- data/docs/ServiceAbstractCapabilityValue.md +22 -0
- data/docs/ServiceApi.md +346 -0
- data/docs/ServiceCreate.md +34 -0
- data/docs/ServiceResourceAttachment.md +24 -0
- data/docs/ServiceResourceAttachmentApi.md +276 -0
- data/docs/Snapshot.md +26 -0
- data/docs/SnapshotApi.md +276 -0
- data/docs/SnapshotCreate.md +24 -0
- data/docs/StorageHost.md +36 -0
- data/docs/StorageHostApi.md +346 -0
- data/docs/StorageHostCreate.md +42 -0
- data/docs/StorageHostResponse.md +38 -0
- data/docs/StorageHostUpdate.md +22 -0
- data/docs/StorageHostVolumeMapping.md +26 -0
- data/docs/StorageHostVolumeMappingApi.md +276 -0
- data/docs/StorageHostVolumeMappingCreate.md +24 -0
- data/docs/StorageHostVolumeMappingResponse.md +26 -0
- data/docs/StorageHostWWPNCandidates.md +20 -0
- data/docs/StorageHostWWPNCandidatesApi.md +72 -0
- data/docs/StorageResource.md +34 -0
- data/docs/StorageResourceApi.md +346 -0
- data/docs/StorageResourceCreate.md +32 -0
- data/docs/StorageResourceResponse.md +34 -0
- data/docs/StorageSystem.md +34 -0
- data/docs/StorageSystemApi.md +346 -0
- data/docs/StorageSystemCreate.md +52 -0
- data/docs/StorageSystemUpdate.md +24 -0
- data/docs/SystemType.md +26 -0
- data/docs/SystemTypeApi.md +276 -0
- data/docs/SystemTypeCreate.md +28 -0
- data/docs/User.md +38 -0
- data/docs/UserApi.md +346 -0
- data/docs/UserCreate.md +38 -0
- data/docs/UserUpdate.md +30 -0
- data/docs/ValidateSystem.md +26 -0
- data/docs/ValidateSystemApi.md +75 -0
- data/docs/Volume.md +36 -0
- data/docs/VolumeApi.md +346 -0
- data/docs/VolumeCreate.md +34 -0
- data/docs/VolumeResponse.md +36 -0
- data/docs/VolumeSafeDelete.md +22 -0
- data/docs/VolumeSafeDeleteApi.md +276 -0
- data/docs/VolumeSafeDeleteCreate.md +18 -0
- data/docs/VolumeUpdate.md +20 -0
- data/eilam_test.gemspec +38 -0
- data/git_push.sh +58 -0
- data/lib/eilam_test/api/abstract_capability_api.rb +254 -0
- data/lib/eilam_test/api/account_api.rb +321 -0
- data/lib/eilam_test/api/address_api.rb +254 -0
- data/lib/eilam_test/api/authentication_api.rb +83 -0
- data/lib/eilam_test/api/auto_sde_project_api.rb +254 -0
- data/lib/eilam_test/api/auto_sde_role_api.rb +254 -0
- data/lib/eilam_test/api/capability_translation_api.rb +254 -0
- data/lib/eilam_test/api/event_api.rb +254 -0
- data/lib/eilam_test/api/host_api.rb +254 -0
- data/lib/eilam_test/api/host_cluster_api.rb +254 -0
- data/lib/eilam_test/api/host_cluster_membership_api.rb +254 -0
- data/lib/eilam_test/api/host_cluster_volume_mapping_api.rb +254 -0
- data/lib/eilam_test/api/host_volume_connection_api.rb +254 -0
- data/lib/eilam_test/api/job_api.rb +136 -0
- data/lib/eilam_test/api/native_capability_api.rb +254 -0
- data/lib/eilam_test/api/profile_api.rb +254 -0
- data/lib/eilam_test/api/provisioning_strategy_api.rb +254 -0
- data/lib/eilam_test/api/service_api.rb +321 -0
- data/lib/eilam_test/api/service_resource_attachment_api.rb +254 -0
- data/lib/eilam_test/api/snapshot_api.rb +254 -0
- data/lib/eilam_test/api/storage_host_api.rb +321 -0
- data/lib/eilam_test/api/storage_host_volume_mapping_api.rb +254 -0
- data/lib/eilam_test/api/storage_host_wwpn_candidates_api.rb +75 -0
- data/lib/eilam_test/api/storage_resource_api.rb +321 -0
- data/lib/eilam_test/api/storage_system_api.rb +321 -0
- data/lib/eilam_test/api/system_type_api.rb +254 -0
- data/lib/eilam_test/api/user_api.rb +321 -0
- data/lib/eilam_test/api/validate_system_api.rb +83 -0
- data/lib/eilam_test/api/volume_api.rb +321 -0
- data/lib/eilam_test/api/volume_safe_delete_api.rb +254 -0
- data/lib/eilam_test/api_client.rb +390 -0
- data/lib/eilam_test/api_error.rb +57 -0
- data/lib/eilam_test/configuration.rb +293 -0
- data/lib/eilam_test/models/abstract_capability.rb +230 -0
- data/lib/eilam_test/models/account.rb +240 -0
- data/lib/eilam_test/models/account_post_request.rb +230 -0
- data/lib/eilam_test/models/account_post_response.rb +250 -0
- data/lib/eilam_test/models/address.rb +340 -0
- data/lib/eilam_test/models/address_create.rb +342 -0
- data/lib/eilam_test/models/auth_response.rb +220 -0
- data/lib/eilam_test/models/authentication.rb +230 -0
- data/lib/eilam_test/models/auto_sde_project.rb +410 -0
- data/lib/eilam_test/models/auto_sde_role.rb +230 -0
- data/lib/eilam_test/models/capability_translation.rb +340 -0
- data/lib/eilam_test/models/capability_translation_create.rb +322 -0
- data/lib/eilam_test/models/event.rb +289 -0
- data/lib/eilam_test/models/host.rb +333 -0
- data/lib/eilam_test/models/host_cluster.rb +397 -0
- data/lib/eilam_test/models/host_cluster_create.rb +338 -0
- data/lib/eilam_test/models/host_cluster_membership.rb +287 -0
- data/lib/eilam_test/models/host_cluster_response.rb +398 -0
- data/lib/eilam_test/models/host_cluster_volume_mapping.rb +299 -0
- data/lib/eilam_test/models/host_cluster_volume_mapping_create.rb +291 -0
- data/lib/eilam_test/models/host_cluster_volume_mapping_response.rb +301 -0
- data/lib/eilam_test/models/host_create.rb +394 -0
- data/lib/eilam_test/models/host_volume_connection.rb +287 -0
- data/lib/eilam_test/models/host_volume_connection_create.rb +277 -0
- data/lib/eilam_test/models/job.rb +280 -0
- data/lib/eilam_test/models/job_create.rb +230 -0
- data/lib/eilam_test/models/native_capability.rb +251 -0
- data/lib/eilam_test/models/profile.rb +295 -0
- data/lib/eilam_test/models/provisioning_strategy.rb +269 -0
- data/lib/eilam_test/models/service.rb +351 -0
- data/lib/eilam_test/models/service_abstract_capability_value.rb +239 -0
- data/lib/eilam_test/models/service_create.rb +339 -0
- data/lib/eilam_test/models/service_resource_attachment.rb +250 -0
- data/lib/eilam_test/models/snapshot.rb +298 -0
- data/lib/eilam_test/models/snapshot_create.rb +288 -0
- data/lib/eilam_test/models/storage_host.rb +346 -0
- data/lib/eilam_test/models/storage_host_create.rb +388 -0
- data/lib/eilam_test/models/storage_host_response.rb +363 -0
- data/lib/eilam_test/models/storage_host_update.rb +301 -0
- data/lib/eilam_test/models/storage_host_volume_mapping.rb +299 -0
- data/lib/eilam_test/models/storage_host_volume_mapping_create.rb +291 -0
- data/lib/eilam_test/models/storage_host_volume_mapping_response.rb +301 -0
- data/lib/eilam_test/models/storage_host_wwpn_candidates.rb +230 -0
- data/lib/eilam_test/models/storage_resource.rb +354 -0
- data/lib/eilam_test/models/storage_resource_create.rb +345 -0
- data/lib/eilam_test/models/storage_resource_response.rb +355 -0
- data/lib/eilam_test/models/storage_system.rb +352 -0
- data/lib/eilam_test/models/storage_system_create.rb +455 -0
- data/lib/eilam_test/models/storage_system_update.rb +265 -0
- data/lib/eilam_test/models/system_type.rb +333 -0
- data/lib/eilam_test/models/system_type_create.rb +345 -0
- data/lib/eilam_test/models/user.rb +395 -0
- data/lib/eilam_test/models/user_create.rb +395 -0
- data/lib/eilam_test/models/user_update.rb +280 -0
- data/lib/eilam_test/models/validate_system.rb +260 -0
- data/lib/eilam_test/models/volume.rb +348 -0
- data/lib/eilam_test/models/volume_create.rb +343 -0
- data/lib/eilam_test/models/volume_response.rb +350 -0
- data/lib/eilam_test/models/volume_safe_delete.rb +239 -0
- data/lib/eilam_test/models/volume_safe_delete_create.rb +219 -0
- data/lib/eilam_test/models/volume_update.rb +232 -0
- data/lib/eilam_test/version.rb +15 -0
- data/lib/eilam_test.rb +130 -0
- data/spec/api/abstract_capability_api_spec.rb +74 -0
- data/spec/api/account_api_spec.rb +85 -0
- data/spec/api/address_api_spec.rb +74 -0
- data/spec/api/authentication_api_spec.rb +45 -0
- data/spec/api/auto_sde_project_api_spec.rb +74 -0
- data/spec/api/auto_sde_role_api_spec.rb +74 -0
- data/spec/api/capability_translation_api_spec.rb +74 -0
- data/spec/api/event_api_spec.rb +74 -0
- data/spec/api/host_api_spec.rb +74 -0
- data/spec/api/host_cluster_api_spec.rb +74 -0
- data/spec/api/host_cluster_membership_api_spec.rb +74 -0
- data/spec/api/host_cluster_volume_mapping_api_spec.rb +74 -0
- data/spec/api/host_volume_connection_api_spec.rb +74 -0
- data/spec/api/job_api_spec.rb +54 -0
- data/spec/api/native_capability_api_spec.rb +74 -0
- data/spec/api/profile_api_spec.rb +74 -0
- data/spec/api/provisioning_strategy_api_spec.rb +74 -0
- data/spec/api/service_api_spec.rb +85 -0
- data/spec/api/service_resource_attachment_api_spec.rb +74 -0
- data/spec/api/snapshot_api_spec.rb +74 -0
- data/spec/api/storage_host_api_spec.rb +85 -0
- data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
- data/spec/api/storage_host_wwpn_candidates_api_spec.rb +44 -0
- data/spec/api/storage_resource_api_spec.rb +85 -0
- data/spec/api/storage_system_api_spec.rb +85 -0
- data/spec/api/system_type_api_spec.rb +74 -0
- data/spec/api/user_api_spec.rb +85 -0
- data/spec/api/validate_system_api_spec.rb +45 -0
- data/spec/api/volume_api_spec.rb +85 -0
- data/spec/api/volume_safe_delete_api_spec.rb +74 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/abstract_capability_spec.rb +40 -0
- data/spec/models/account_post_request_spec.rb +40 -0
- data/spec/models/account_post_response_spec.rb +52 -0
- data/spec/models/account_spec.rb +46 -0
- data/spec/models/address_create_spec.rb +84 -0
- data/spec/models/address_spec.rb +84 -0
- data/spec/models/auth_response_spec.rb +34 -0
- data/spec/models/authentication_spec.rb +40 -0
- data/spec/models/auto_sde_project_spec.rb +148 -0
- data/spec/models/auto_sde_role_spec.rb +40 -0
- data/spec/models/capability_translation_create_spec.rb +76 -0
- data/spec/models/capability_translation_spec.rb +88 -0
- data/spec/models/event_spec.rb +76 -0
- data/spec/models/host_cluster_create_spec.rb +70 -0
- data/spec/models/host_cluster_membership_spec.rb +56 -0
- data/spec/models/host_cluster_response_spec.rb +86 -0
- data/spec/models/host_cluster_spec.rb +86 -0
- data/spec/models/host_cluster_volume_mapping_create_spec.rb +56 -0
- data/spec/models/host_cluster_volume_mapping_response_spec.rb +62 -0
- data/spec/models/host_cluster_volume_mapping_spec.rb +62 -0
- data/spec/models/host_create_spec.rb +112 -0
- data/spec/models/host_spec.rb +78 -0
- data/spec/models/host_volume_connection_create_spec.rb +50 -0
- data/spec/models/host_volume_connection_spec.rb +56 -0
- data/spec/models/job_create_spec.rb +40 -0
- data/spec/models/job_spec.rb +70 -0
- data/spec/models/native_capability_spec.rb +52 -0
- data/spec/models/profile_spec.rb +62 -0
- data/spec/models/provisioning_strategy_spec.rb +44 -0
- data/spec/models/service_abstract_capability_value_spec.rb +46 -0
- data/spec/models/service_create_spec.rb +86 -0
- data/spec/models/service_resource_attachment_spec.rb +52 -0
- data/spec/models/service_spec.rb +92 -0
- data/spec/models/snapshot_create_spec.rb +56 -0
- data/spec/models/snapshot_spec.rb +62 -0
- data/spec/models/storage_host_create_spec.rb +114 -0
- data/spec/models/storage_host_response_spec.rb +98 -0
- data/spec/models/storage_host_spec.rb +92 -0
- data/spec/models/storage_host_update_spec.rb +54 -0
- data/spec/models/storage_host_volume_mapping_create_spec.rb +56 -0
- data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
- data/spec/models/storage_host_volume_mapping_spec.rb +62 -0
- data/spec/models/storage_host_wwpn_candidates_spec.rb +40 -0
- data/spec/models/storage_resource_create_spec.rb +84 -0
- data/spec/models/storage_resource_response_spec.rb +90 -0
- data/spec/models/storage_resource_spec.rb +90 -0
- data/spec/models/storage_system_create_spec.rb +148 -0
- data/spec/models/storage_system_spec.rb +90 -0
- data/spec/models/storage_system_update_spec.rb +52 -0
- data/spec/models/system_type_create_spec.rb +72 -0
- data/spec/models/system_type_spec.rb +66 -0
- data/spec/models/user_create_spec.rb +94 -0
- data/spec/models/user_spec.rb +94 -0
- data/spec/models/user_update_spec.rb +70 -0
- data/spec/models/validate_system_spec.rb +58 -0
- data/spec/models/volume_create_spec.rb +86 -0
- data/spec/models/volume_response_spec.rb +92 -0
- data/spec/models/volume_safe_delete_create_spec.rb +34 -0
- data/spec/models/volume_safe_delete_spec.rb +46 -0
- data/spec/models/volume_spec.rb +92 -0
- data/spec/models/volume_update_spec.rb +40 -0
- data/spec/spec_helper.rb +111 -0
- metadata +464 -0
@@ -0,0 +1,74 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for EilamTest::SystemTypeApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SystemTypeApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = EilamTest::SystemTypeApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SystemTypeApi' do
|
30
|
+
it 'should create an instance of SystemTypeApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(EilamTest::SystemTypeApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for system_types_get
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<SystemType>]
|
38
|
+
describe 'system_types_get test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for system_types_pk_delete
|
45
|
+
# @param pk
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [Array<SystemType>]
|
48
|
+
describe 'system_types_pk_delete test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for system_types_pk_get
|
55
|
+
# @param pk
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [Array<SystemType>]
|
58
|
+
describe 'system_types_pk_get test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# unit tests for system_types_post
|
65
|
+
# @param system_type_create
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [SystemType]
|
68
|
+
describe 'system_types_post test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for EilamTest::UserApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'UserApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = EilamTest::UserApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of UserApi' do
|
30
|
+
it 'should create an instance of UserApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(EilamTest::UserApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for autosde_users_get
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<UserCreate>]
|
38
|
+
describe 'autosde_users_get test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for autosde_users_pk_delete
|
45
|
+
# @param pk
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [Array<User>]
|
48
|
+
describe 'autosde_users_pk_delete test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for autosde_users_pk_get
|
55
|
+
# @param pk
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [Array<UserCreate>]
|
58
|
+
describe 'autosde_users_pk_get test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# unit tests for autosde_users_pk_put
|
65
|
+
# @param pk
|
66
|
+
# @param user_update
|
67
|
+
# @param [Hash] opts the optional parameters
|
68
|
+
# @return [UserCreate]
|
69
|
+
describe 'autosde_users_pk_put test' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# unit tests for autosde_users_post
|
76
|
+
# @param user_create
|
77
|
+
# @param [Hash] opts the optional parameters
|
78
|
+
# @return [UserCreate]
|
79
|
+
describe 'autosde_users_post test' do
|
80
|
+
it 'should work' do
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for EilamTest::ValidateSystemApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ValidateSystemApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = EilamTest::ValidateSystemApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ValidateSystemApi' do
|
30
|
+
it 'should create an instance of ValidateSystemApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(EilamTest::ValidateSystemApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for validate_system_post
|
36
|
+
# @param storage_system_create
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [ValidateSystem]
|
39
|
+
describe 'validate_system_post test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for EilamTest::VolumeApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'VolumeApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = EilamTest::VolumeApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of VolumeApi' do
|
30
|
+
it 'should create an instance of VolumeApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(EilamTest::VolumeApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for volumes_get
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<VolumeResponse>]
|
38
|
+
describe 'volumes_get test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for volumes_pk_delete
|
45
|
+
# @param pk
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [Array<Volume>]
|
48
|
+
describe 'volumes_pk_delete test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for volumes_pk_get
|
55
|
+
# @param pk
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [Array<VolumeResponse>]
|
58
|
+
describe 'volumes_pk_get test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# unit tests for volumes_pk_put
|
65
|
+
# @param pk
|
66
|
+
# @param volume_update
|
67
|
+
# @param [Hash] opts the optional parameters
|
68
|
+
# @return [VolumeResponse]
|
69
|
+
describe 'volumes_pk_put test' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# unit tests for volumes_post
|
76
|
+
# @param volume_create
|
77
|
+
# @param [Hash] opts the optional parameters
|
78
|
+
# @return [VolumeResponse]
|
79
|
+
describe 'volumes_post test' do
|
80
|
+
it 'should work' do
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for EilamTest::VolumeSafeDeleteApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'VolumeSafeDeleteApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = EilamTest::VolumeSafeDeleteApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of VolumeSafeDeleteApi' do
|
30
|
+
it 'should create an instance of VolumeSafeDeleteApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(EilamTest::VolumeSafeDeleteApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for safe_deletes_get
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<VolumeSafeDelete>]
|
38
|
+
describe 'safe_deletes_get test' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# unit tests for safe_deletes_pk_delete
|
45
|
+
# @param pk
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [Array<VolumeSafeDelete>]
|
48
|
+
describe 'safe_deletes_pk_delete test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for safe_deletes_pk_get
|
55
|
+
# @param pk
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [Array<VolumeSafeDelete>]
|
58
|
+
describe 'safe_deletes_pk_get test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# unit tests for safe_deletes_post
|
65
|
+
# @param volume_safe_delete_create
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [VolumeSafeDelete]
|
68
|
+
describe 'safe_deletes_post test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
@@ -0,0 +1,226 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
|
15
|
+
describe EilamTest::ApiClient do
|
16
|
+
context 'initialization' do
|
17
|
+
context 'URL stuff' do
|
18
|
+
context 'host' do
|
19
|
+
it 'removes http from host' do
|
20
|
+
EilamTest.configure { |c| c.host = 'http://example.com' }
|
21
|
+
expect(EilamTest::Configuration.default.host).to eq('example.com')
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'removes https from host' do
|
25
|
+
EilamTest.configure { |c| c.host = 'https://wookiee.com' }
|
26
|
+
expect(EilamTest::ApiClient.default.config.host).to eq('wookiee.com')
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'removes trailing path from host' do
|
30
|
+
EilamTest.configure { |c| c.host = 'hobo.com/v4' }
|
31
|
+
expect(EilamTest::Configuration.default.host).to eq('hobo.com')
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'base_path' do
|
36
|
+
it "prepends a slash to base_path" do
|
37
|
+
EilamTest.configure { |c| c.base_path = 'v4/dog' }
|
38
|
+
expect(EilamTest::Configuration.default.base_path).to eq('/v4/dog')
|
39
|
+
end
|
40
|
+
|
41
|
+
it "doesn't prepend a slash if one is already there" do
|
42
|
+
EilamTest.configure { |c| c.base_path = '/v4/dog' }
|
43
|
+
expect(EilamTest::Configuration.default.base_path).to eq('/v4/dog')
|
44
|
+
end
|
45
|
+
|
46
|
+
it "ends up as a blank string if nil" do
|
47
|
+
EilamTest.configure { |c| c.base_path = nil }
|
48
|
+
expect(EilamTest::Configuration.default.base_path).to eq('')
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'params_encoding in #build_request' do
|
55
|
+
let(:config) { EilamTest::Configuration.new }
|
56
|
+
let(:api_client) { EilamTest::ApiClient.new(config) }
|
57
|
+
|
58
|
+
it 'defaults to nil' do
|
59
|
+
expect(EilamTest::Configuration.default.params_encoding).to eq(nil)
|
60
|
+
expect(config.params_encoding).to eq(nil)
|
61
|
+
|
62
|
+
request = api_client.build_request(:get, '/test')
|
63
|
+
expect(request.options[:params_encoding]).to eq(nil)
|
64
|
+
end
|
65
|
+
|
66
|
+
it 'can be customized' do
|
67
|
+
config.params_encoding = :multi
|
68
|
+
request = api_client.build_request(:get, '/test')
|
69
|
+
expect(request.options[:params_encoding]).to eq(:multi)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
describe 'timeout in #build_request' do
|
74
|
+
let(:config) { EilamTest::Configuration.new }
|
75
|
+
let(:api_client) { EilamTest::ApiClient.new(config) }
|
76
|
+
|
77
|
+
it 'defaults to 0' do
|
78
|
+
expect(EilamTest::Configuration.default.timeout).to eq(0)
|
79
|
+
expect(config.timeout).to eq(0)
|
80
|
+
|
81
|
+
request = api_client.build_request(:get, '/test')
|
82
|
+
expect(request.options[:timeout]).to eq(0)
|
83
|
+
end
|
84
|
+
|
85
|
+
it 'can be customized' do
|
86
|
+
config.timeout = 100
|
87
|
+
request = api_client.build_request(:get, '/test')
|
88
|
+
expect(request.options[:timeout]).to eq(100)
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
describe '#deserialize' do
|
93
|
+
it "handles Array<Integer>" do
|
94
|
+
api_client = EilamTest::ApiClient.new
|
95
|
+
headers = { 'Content-Type' => 'application/json' }
|
96
|
+
response = double('response', headers: headers, body: '[12, 34]')
|
97
|
+
data = api_client.deserialize(response, 'Array<Integer>')
|
98
|
+
expect(data).to be_instance_of(Array)
|
99
|
+
expect(data).to eq([12, 34])
|
100
|
+
end
|
101
|
+
|
102
|
+
it 'handles Array<Array<Integer>>' do
|
103
|
+
api_client = EilamTest::ApiClient.new
|
104
|
+
headers = { 'Content-Type' => 'application/json' }
|
105
|
+
response = double('response', headers: headers, body: '[[12, 34], [56]]')
|
106
|
+
data = api_client.deserialize(response, 'Array<Array<Integer>>')
|
107
|
+
expect(data).to be_instance_of(Array)
|
108
|
+
expect(data).to eq([[12, 34], [56]])
|
109
|
+
end
|
110
|
+
|
111
|
+
it 'handles Hash<String, String>' do
|
112
|
+
api_client = EilamTest::ApiClient.new
|
113
|
+
headers = { 'Content-Type' => 'application/json' }
|
114
|
+
response = double('response', headers: headers, body: '{"message": "Hello"}')
|
115
|
+
data = api_client.deserialize(response, 'Hash<String, String>')
|
116
|
+
expect(data).to be_instance_of(Hash)
|
117
|
+
expect(data).to eq(:message => 'Hello')
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
describe "#object_to_hash" do
|
122
|
+
it 'ignores nils and includes empty arrays' do
|
123
|
+
# uncomment below to test object_to_hash for model
|
124
|
+
# api_client = EilamTest::ApiClient.new
|
125
|
+
# _model = EilamTest::ModelName.new
|
126
|
+
# update the model attribute below
|
127
|
+
# _model.id = 1
|
128
|
+
# update the expected value (hash) below
|
129
|
+
# expected = {id: 1, name: '', tags: []}
|
130
|
+
# expect(api_client.object_to_hash(_model)).to eq(expected)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
describe '#build_collection_param' do
|
135
|
+
let(:param) { ['aa', 'bb', 'cc'] }
|
136
|
+
let(:api_client) { EilamTest::ApiClient.new }
|
137
|
+
|
138
|
+
it 'works for csv' do
|
139
|
+
expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
|
140
|
+
end
|
141
|
+
|
142
|
+
it 'works for ssv' do
|
143
|
+
expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc')
|
144
|
+
end
|
145
|
+
|
146
|
+
it 'works for tsv' do
|
147
|
+
expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc")
|
148
|
+
end
|
149
|
+
|
150
|
+
it 'works for pipes' do
|
151
|
+
expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc')
|
152
|
+
end
|
153
|
+
|
154
|
+
it 'works for multi' do
|
155
|
+
expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc'])
|
156
|
+
end
|
157
|
+
|
158
|
+
it 'fails for invalid collection format' do
|
159
|
+
expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
describe '#json_mime?' do
|
164
|
+
let(:api_client) { EilamTest::ApiClient.new }
|
165
|
+
|
166
|
+
it 'works' do
|
167
|
+
expect(api_client.json_mime?(nil)).to eq false
|
168
|
+
expect(api_client.json_mime?('')).to eq false
|
169
|
+
|
170
|
+
expect(api_client.json_mime?('application/json')).to eq true
|
171
|
+
expect(api_client.json_mime?('application/json; charset=UTF8')).to eq true
|
172
|
+
expect(api_client.json_mime?('APPLICATION/JSON')).to eq true
|
173
|
+
|
174
|
+
expect(api_client.json_mime?('application/xml')).to eq false
|
175
|
+
expect(api_client.json_mime?('text/plain')).to eq false
|
176
|
+
expect(api_client.json_mime?('application/jsonp')).to eq false
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
describe '#select_header_accept' do
|
181
|
+
let(:api_client) { EilamTest::ApiClient.new }
|
182
|
+
|
183
|
+
it 'works' do
|
184
|
+
expect(api_client.select_header_accept(nil)).to be_nil
|
185
|
+
expect(api_client.select_header_accept([])).to be_nil
|
186
|
+
|
187
|
+
expect(api_client.select_header_accept(['application/json'])).to eq('application/json')
|
188
|
+
expect(api_client.select_header_accept(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
|
189
|
+
expect(api_client.select_header_accept(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
|
190
|
+
|
191
|
+
expect(api_client.select_header_accept(['application/xml'])).to eq('application/xml')
|
192
|
+
expect(api_client.select_header_accept(['text/html', 'application/xml'])).to eq('text/html,application/xml')
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
describe '#select_header_content_type' do
|
197
|
+
let(:api_client) { EilamTest::ApiClient.new }
|
198
|
+
|
199
|
+
it 'works' do
|
200
|
+
expect(api_client.select_header_content_type(nil)).to eq('application/json')
|
201
|
+
expect(api_client.select_header_content_type([])).to eq('application/json')
|
202
|
+
|
203
|
+
expect(api_client.select_header_content_type(['application/json'])).to eq('application/json')
|
204
|
+
expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
|
205
|
+
expect(api_client.select_header_content_type(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
|
206
|
+
expect(api_client.select_header_content_type(['application/xml'])).to eq('application/xml')
|
207
|
+
expect(api_client.select_header_content_type(['text/plain', 'application/xml'])).to eq('text/plain')
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
describe '#sanitize_filename' do
|
212
|
+
let(:api_client) { EilamTest::ApiClient.new }
|
213
|
+
|
214
|
+
it 'works' do
|
215
|
+
expect(api_client.sanitize_filename('sun')).to eq('sun')
|
216
|
+
expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif')
|
217
|
+
expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif')
|
218
|
+
expect(api_client.sanitize_filename('/var/tmp/sun.gif')).to eq('sun.gif')
|
219
|
+
expect(api_client.sanitize_filename('./sun.gif')).to eq('sun.gif')
|
220
|
+
expect(api_client.sanitize_filename('..\sun.gif')).to eq('sun.gif')
|
221
|
+
expect(api_client.sanitize_filename('\var\tmp\sun.gif')).to eq('sun.gif')
|
222
|
+
expect(api_client.sanitize_filename('c:\var\tmp\sun.gif')).to eq('sun.gif')
|
223
|
+
expect(api_client.sanitize_filename('.\sun.gif')).to eq('sun.gif')
|
224
|
+
end
|
225
|
+
end
|
226
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
|
15
|
+
describe EilamTest::Configuration do
|
16
|
+
let(:config) { EilamTest::Configuration.default }
|
17
|
+
|
18
|
+
before(:each) do
|
19
|
+
# uncomment below to setup host and base_path
|
20
|
+
# require 'URI'
|
21
|
+
# uri = URI.parse("http://localhost:9000/site-manager/api/v1/engine")
|
22
|
+
# EilamTest.configure do |c|
|
23
|
+
# c.host = uri.host
|
24
|
+
# c.base_path = uri.path
|
25
|
+
# end
|
26
|
+
end
|
27
|
+
|
28
|
+
describe '#base_url' do
|
29
|
+
it 'should have the default value' do
|
30
|
+
# uncomment below to test default value of the base path
|
31
|
+
# expect(config.base_url).to eq("http://localhost:9000/site-manager/api/v1/engine")
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'should remove trailing slashes' do
|
35
|
+
[nil, '', '/', '//'].each do |base_path|
|
36
|
+
config.base_path = base_path
|
37
|
+
# uncomment below to test trailing slashes
|
38
|
+
# expect(config.base_url).to eq("http://localhost:9000/site-manager/api/v1/engine")
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for EilamTest::AbstractCapability
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe EilamTest::AbstractCapability do
|
21
|
+
let(:instance) { EilamTest::AbstractCapability.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AbstractCapability' do
|
24
|
+
it 'should create an instance of AbstractCapability' do
|
25
|
+
expect(instance).to be_instance_of(EilamTest::AbstractCapability)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "name"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "uuid"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|