happyco_json 2.0.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 +7 -0
- data/Gemfile +7 -0
- data/README.md +215 -0
- data/Rakefile +8 -0
- data/docs/AccountProvisioningServiceApi.md +98 -0
- data/docs/AccountServiceApi.md +98 -0
- data/docs/AccountUsersServiceApi.md +188 -0
- data/docs/AssetServiceApi.md +233 -0
- data/docs/CreateAccountsRequestAccountWithAdmin.md +9 -0
- data/docs/CreateAccountsResponseAccountIDWithAdminID.md +9 -0
- data/docs/FolderServiceApi.md +188 -0
- data/docs/InspectionServiceApi.md +329 -0
- data/docs/InspectionStatusChangeStatus.md +7 -0
- data/docs/InspectionStatusChangesEventInspectionStatusChange.md +10 -0
- data/docs/TemplateServiceApi.md +233 -0
- data/docs/UpdateAccountsRequestAccountWithAdminId.md +9 -0
- data/docs/V1Account.md +17 -0
- data/docs/V1AddInspectionPhotoRequest.md +11 -0
- data/docs/V1AddInspectionPhotoResponse.md +9 -0
- data/docs/V1AddInspectionPhotosRequest.md +9 -0
- data/docs/V1AddInspectionPhotosResponse.md +8 -0
- data/docs/V1AddUsersRequest.md +9 -0
- data/docs/V1AddUsersResponse.md +8 -0
- data/docs/V1Asset.md +17 -0
- data/docs/V1CreateAccountsRequest.md +8 -0
- data/docs/V1CreateAccountsResponse.md +8 -0
- data/docs/V1CreateAssetsRequest.md +10 -0
- data/docs/V1CreateAssetsResponse.md +8 -0
- data/docs/V1CreateDelegatedInspectionLinkRequest.md +12 -0
- data/docs/V1CreateDelegatedInspectionLinkResponse.md +9 -0
- data/docs/V1CreateDelegatedInspectionLinksRequest.md +13 -0
- data/docs/V1CreateDelegatedInspectionLinksResponse.md +8 -0
- data/docs/V1CreateFoldersRequest.md +9 -0
- data/docs/V1CreateFoldersResponse.md +8 -0
- data/docs/V1CreateInspectionsRequest.md +9 -0
- data/docs/V1CreateInspectionsResponse.md +8 -0
- data/docs/V1CreateTemplatesRequest.md +10 -0
- data/docs/V1CreateTemplatesResponse.md +8 -0
- data/docs/V1DateTime.md +13 -0
- data/docs/V1Event.md +8 -0
- data/docs/V1EventAck.md +10 -0
- data/docs/V1EventHandlerOptions.md +8 -0
- data/docs/V1FloatArray.md +8 -0
- data/docs/V1Folder.md +11 -0
- data/docs/V1FolderType.md +7 -0
- data/docs/V1FooterField.md +10 -0
- data/docs/V1HeaderField.md +10 -0
- data/docs/V1Inspection.md +16 -0
- data/docs/V1InspectionData.md +15 -0
- data/docs/V1InspectionStatusChangesEvent.md +9 -0
- data/docs/V1InspectionStatusChangesEventAck.md +8 -0
- data/docs/V1InspectionStatusChangesEventAckResponse.md +7 -0
- data/docs/V1InspectionStatusChangesEventRequest.md +9 -0
- data/docs/V1IntegrationID.md +10 -0
- data/docs/V1Item.md +14 -0
- data/docs/V1ListAccountsRequest.md +10 -0
- data/docs/V1ListAccountsResponse.md +9 -0
- data/docs/V1ListAssetsRequest.md +12 -0
- data/docs/V1ListAssetsResponse.md +9 -0
- data/docs/V1ListFoldersRequest.md +11 -0
- data/docs/V1ListFoldersResponse.md +9 -0
- data/docs/V1ListInspectionsRequest.md +13 -0
- data/docs/V1ListInspectionsResponse.md +10 -0
- data/docs/V1ListTemplatesRequest.md +12 -0
- data/docs/V1ListTemplatesResponse.md +10 -0
- data/docs/V1ListUsersRequest.md +11 -0
- data/docs/V1ListUsersResponse.md +9 -0
- data/docs/V1Paging.md +7 -0
- data/docs/V1PagingResponse.md +7 -0
- data/docs/V1Photo.md +9 -0
- data/docs/V1Property.md +8 -0
- data/docs/V1RatingCheckbox.md +12 -0
- data/docs/V1RatingControl.md +11 -0
- data/docs/V1RatingDropDown.md +9 -0
- data/docs/V1RatingDropDownOption.md +12 -0
- data/docs/V1RatingGroups.md +9 -0
- data/docs/V1RatingImage.md +7 -0
- data/docs/V1RatingRadioGroup.md +9 -0
- data/docs/V1RatingRadioGroupOption.md +11 -0
- data/docs/V1RatingValues.md +9 -0
- data/docs/V1ScheduledInspection.md +11 -0
- data/docs/V1Section.md +9 -0
- data/docs/V1SetAssetsArchivedRequest.md +10 -0
- data/docs/V1SetAssetsArchivedResponse.md +7 -0
- data/docs/V1SetInspectionsArchivedRequest.md +9 -0
- data/docs/V1SetInspectionsArchivedResponse.md +7 -0
- data/docs/V1SetTemplatesArchivedRequest.md +10 -0
- data/docs/V1SetTemplatesArchivedResponse.md +7 -0
- data/docs/V1StringArray.md +8 -0
- data/docs/V1Template.md +18 -0
- data/docs/V1Unit.md +9 -0
- data/docs/V1UpdateAccountStatusesRequest.md +9 -0
- data/docs/V1UpdateAccountStatusesResponse.md +7 -0
- data/docs/V1UpdateAccountsRequest.md +8 -0
- data/docs/V1UpdateAccountsResponse.md +7 -0
- data/docs/V1UpdateAssetsRequest.md +10 -0
- data/docs/V1UpdateAssetsResponse.md +7 -0
- data/docs/V1UpdateFolderStatusesRequest.md +10 -0
- data/docs/V1UpdateFolderStatusesResponse.md +7 -0
- data/docs/V1UpdateFoldersRequest.md +9 -0
- data/docs/V1UpdateFoldersResponse.md +8 -0
- data/docs/V1UpdateInspectionsRequest.md +9 -0
- data/docs/V1UpdateInspectionsResponse.md +7 -0
- data/docs/V1UpdateTemplatesRequest.md +10 -0
- data/docs/V1UpdateTemplatesResponse.md +7 -0
- data/docs/V1UpdateUserStatusesRequest.md +10 -0
- data/docs/V1UpdateUserStatusesResponse.md +7 -0
- data/docs/V1UpdateUsersRequest.md +9 -0
- data/docs/V1UpdateUsersResponse.md +8 -0
- data/docs/V1User.md +13 -0
- data/git_push.sh +55 -0
- data/happyco_json.gemspec +45 -0
- data/lib/happyco_json/api/account_provisioning_service_api.rb +128 -0
- data/lib/happyco_json/api/account_service_api.rb +128 -0
- data/lib/happyco_json/api/account_users_service_api.rb +234 -0
- data/lib/happyco_json/api/asset_service_api.rb +287 -0
- data/lib/happyco_json/api/folder_service_api.rb +234 -0
- data/lib/happyco_json/api/inspection_service_api.rb +393 -0
- data/lib/happyco_json/api/template_service_api.rb +287 -0
- data/lib/happyco_json/api_client.rb +375 -0
- data/lib/happyco_json/api_error.rb +37 -0
- data/lib/happyco_json/configuration.rb +195 -0
- data/lib/happyco_json/helpers.rb +30 -0
- data/lib/happyco_json/models/create_accounts_request_account_with_admin.rb +196 -0
- data/lib/happyco_json/models/create_accounts_response_account_id_with_admin_id.rb +196 -0
- data/lib/happyco_json/models/inspection_status_change_status.rb +22 -0
- data/lib/happyco_json/models/inspection_status_changes_event_inspection_status_change.rb +256 -0
- data/lib/happyco_json/models/update_accounts_request_account_with_admin_id.rb +196 -0
- data/lib/happyco_json/models/v1_account.rb +268 -0
- data/lib/happyco_json/models/v1_add_inspection_photo_request.rb +216 -0
- data/lib/happyco_json/models/v1_add_inspection_photo_response.rb +197 -0
- data/lib/happyco_json/models/v1_add_inspection_photos_request.rb +200 -0
- data/lib/happyco_json/models/v1_add_inspection_photos_response.rb +190 -0
- data/lib/happyco_json/models/v1_add_users_request.rb +198 -0
- data/lib/happyco_json/models/v1_add_users_response.rb +189 -0
- data/lib/happyco_json/models/v1_asset.rb +268 -0
- data/lib/happyco_json/models/v1_create_accounts_request.rb +189 -0
- data/lib/happyco_json/models/v1_create_accounts_response.rb +189 -0
- data/lib/happyco_json/models/v1_create_assets_request.rb +207 -0
- data/lib/happyco_json/models/v1_create_assets_response.rb +189 -0
- data/lib/happyco_json/models/v1_create_delegated_inspection_link_request.rb +223 -0
- data/lib/happyco_json/models/v1_create_delegated_inspection_link_response.rb +196 -0
- data/lib/happyco_json/models/v1_create_delegated_inspection_links_request.rb +234 -0
- data/lib/happyco_json/models/v1_create_delegated_inspection_links_response.rb +189 -0
- data/lib/happyco_json/models/v1_create_folders_request.rb +198 -0
- data/lib/happyco_json/models/v1_create_folders_response.rb +189 -0
- data/lib/happyco_json/models/v1_create_inspections_request.rb +200 -0
- data/lib/happyco_json/models/v1_create_inspections_response.rb +189 -0
- data/lib/happyco_json/models/v1_create_templates_request.rb +207 -0
- data/lib/happyco_json/models/v1_create_templates_response.rb +189 -0
- data/lib/happyco_json/models/v1_date_time.rb +232 -0
- data/lib/happyco_json/models/v1_event.rb +187 -0
- data/lib/happyco_json/models/v1_event_ack.rb +207 -0
- data/lib/happyco_json/models/v1_event_handler_options.rb +187 -0
- data/lib/happyco_json/models/v1_float_array.rb +189 -0
- data/lib/happyco_json/models/v1_folder.rb +249 -0
- data/lib/happyco_json/models/v1_folder_type.rb +21 -0
- data/lib/happyco_json/models/v1_footer_field.rb +208 -0
- data/lib/happyco_json/models/v1_header_field.rb +208 -0
- data/lib/happyco_json/models/v1_inspection.rb +264 -0
- data/lib/happyco_json/models/v1_inspection_data.rb +266 -0
- data/lib/happyco_json/models/v1_inspection_status_changes_event.rb +198 -0
- data/lib/happyco_json/models/v1_inspection_status_changes_event_ack.rb +188 -0
- data/lib/happyco_json/models/v1_inspection_status_changes_event_ack_response.rb +178 -0
- data/lib/happyco_json/models/v1_inspection_status_changes_event_request.rb +198 -0
- data/lib/happyco_json/models/v1_integration_id.rb +205 -0
- data/lib/happyco_json/models/v1_item.rb +254 -0
- data/lib/happyco_json/models/v1_list_accounts_request.rb +207 -0
- data/lib/happyco_json/models/v1_list_accounts_response.rb +198 -0
- data/lib/happyco_json/models/v1_list_assets_request.rb +225 -0
- data/lib/happyco_json/models/v1_list_assets_response.rb +198 -0
- data/lib/happyco_json/models/v1_list_folders_request.rb +216 -0
- data/lib/happyco_json/models/v1_list_folders_response.rb +198 -0
- data/lib/happyco_json/models/v1_list_inspections_request.rb +244 -0
- data/lib/happyco_json/models/v1_list_inspections_response.rb +210 -0
- data/lib/happyco_json/models/v1_list_templates_request.rb +227 -0
- data/lib/happyco_json/models/v1_list_templates_response.rb +207 -0
- data/lib/happyco_json/models/v1_list_users_request.rb +216 -0
- data/lib/happyco_json/models/v1_list_users_response.rb +198 -0
- data/lib/happyco_json/models/v1_paging.rb +178 -0
- data/lib/happyco_json/models/v1_paging_response.rb +178 -0
- data/lib/happyco_json/models/v1_photo.rb +196 -0
- data/lib/happyco_json/models/v1_property.rb +187 -0
- data/lib/happyco_json/models/v1_rating_checkbox.rb +261 -0
- data/lib/happyco_json/models/v1_rating_control.rb +215 -0
- data/lib/happyco_json/models/v1_rating_drop_down.rb +199 -0
- data/lib/happyco_json/models/v1_rating_drop_down_option.rb +261 -0
- data/lib/happyco_json/models/v1_rating_groups.rb +200 -0
- data/lib/happyco_json/models/v1_rating_image.rb +137 -0
- data/lib/happyco_json/models/v1_rating_radio_group.rb +199 -0
- data/lib/happyco_json/models/v1_rating_radio_group_option.rb +251 -0
- data/lib/happyco_json/models/v1_rating_values.rb +196 -0
- data/lib/happyco_json/models/v1_scheduled_inspection.rb +223 -0
- data/lib/happyco_json/models/v1_section.rb +200 -0
- data/lib/happyco_json/models/v1_set_assets_archived_request.rb +207 -0
- data/lib/happyco_json/models/v1_set_assets_archived_response.rb +178 -0
- data/lib/happyco_json/models/v1_set_inspections_archived_request.rb +200 -0
- data/lib/happyco_json/models/v1_set_inspections_archived_response.rb +178 -0
- data/lib/happyco_json/models/v1_set_templates_archived_request.rb +207 -0
- data/lib/happyco_json/models/v1_set_templates_archived_response.rb +178 -0
- data/lib/happyco_json/models/v1_string_array.rb +189 -0
- data/lib/happyco_json/models/v1_template.rb +287 -0
- data/lib/happyco_json/models/v1_unit.rb +196 -0
- data/lib/happyco_json/models/v1_update_account_statuses_request.rb +198 -0
- data/lib/happyco_json/models/v1_update_account_statuses_response.rb +178 -0
- data/lib/happyco_json/models/v1_update_accounts_request.rb +189 -0
- data/lib/happyco_json/models/v1_update_accounts_response.rb +178 -0
- data/lib/happyco_json/models/v1_update_assets_request.rb +207 -0
- data/lib/happyco_json/models/v1_update_assets_response.rb +178 -0
- data/lib/happyco_json/models/v1_update_folder_statuses_request.rb +207 -0
- data/lib/happyco_json/models/v1_update_folder_statuses_response.rb +178 -0
- data/lib/happyco_json/models/v1_update_folders_request.rb +198 -0
- data/lib/happyco_json/models/v1_update_folders_response.rb +189 -0
- data/lib/happyco_json/models/v1_update_inspections_request.rb +200 -0
- data/lib/happyco_json/models/v1_update_inspections_response.rb +178 -0
- data/lib/happyco_json/models/v1_update_templates_request.rb +207 -0
- data/lib/happyco_json/models/v1_update_templates_response.rb +178 -0
- data/lib/happyco_json/models/v1_update_user_statuses_request.rb +207 -0
- data/lib/happyco_json/models/v1_update_user_statuses_response.rb +178 -0
- data/lib/happyco_json/models/v1_update_users_request.rb +198 -0
- data/lib/happyco_json/models/v1_update_users_response.rb +189 -0
- data/lib/happyco_json/models/v1_user.rb +232 -0
- data/lib/happyco_json/version.rb +14 -0
- data/lib/happyco_json.rb +145 -0
- data/spec/api/account_provisioning_service_api_spec.rb +58 -0
- data/spec/api/account_service_api_spec.rb +58 -0
- data/spec/api/account_users_service_api_spec.rb +82 -0
- data/spec/api/asset_service_api_spec.rb +94 -0
- data/spec/api/folder_service_api_spec.rb +82 -0
- data/spec/api/inspection_service_api_spec.rb +118 -0
- data/spec/api/template_service_api_spec.rb +94 -0
- data/spec/api_client_spec.rb +225 -0
- data/spec/configuration_spec.rb +41 -0
- data/spec/models/create_accounts_request_account_with_admin_spec.rb +47 -0
- data/spec/models/create_accounts_response_account_id_with_admin_id_spec.rb +47 -0
- data/spec/models/inspection_status_change_status_spec.rb +35 -0
- data/spec/models/inspection_status_changes_event_inspection_status_change_spec.rb +61 -0
- data/spec/models/update_accounts_request_account_with_admin_id_spec.rb +47 -0
- data/spec/models/v1_account_spec.rb +95 -0
- data/spec/models/v1_add_inspection_photo_request_spec.rb +59 -0
- data/spec/models/v1_add_inspection_photo_response_spec.rb +47 -0
- data/spec/models/v1_add_inspection_photos_request_spec.rb +47 -0
- data/spec/models/v1_add_inspection_photos_response_spec.rb +41 -0
- data/spec/models/v1_add_users_request_spec.rb +47 -0
- data/spec/models/v1_add_users_response_spec.rb +41 -0
- data/spec/models/v1_asset_spec.rb +95 -0
- data/spec/models/v1_create_accounts_request_spec.rb +41 -0
- data/spec/models/v1_create_accounts_response_spec.rb +41 -0
- data/spec/models/v1_create_assets_request_spec.rb +53 -0
- data/spec/models/v1_create_assets_response_spec.rb +41 -0
- data/spec/models/v1_create_delegated_inspection_link_request_spec.rb +65 -0
- data/spec/models/v1_create_delegated_inspection_link_response_spec.rb +47 -0
- data/spec/models/v1_create_delegated_inspection_links_request_spec.rb +71 -0
- data/spec/models/v1_create_delegated_inspection_links_response_spec.rb +41 -0
- data/spec/models/v1_create_folders_request_spec.rb +47 -0
- data/spec/models/v1_create_folders_response_spec.rb +41 -0
- data/spec/models/v1_create_inspections_request_spec.rb +47 -0
- data/spec/models/v1_create_inspections_response_spec.rb +41 -0
- data/spec/models/v1_create_templates_request_spec.rb +53 -0
- data/spec/models/v1_create_templates_response_spec.rb +41 -0
- data/spec/models/v1_date_time_spec.rb +71 -0
- data/spec/models/v1_event_ack_spec.rb +53 -0
- data/spec/models/v1_event_handler_options_spec.rb +41 -0
- data/spec/models/v1_event_spec.rb +41 -0
- data/spec/models/v1_float_array_spec.rb +41 -0
- data/spec/models/v1_folder_spec.rb +63 -0
- data/spec/models/v1_folder_type_spec.rb +35 -0
- data/spec/models/v1_footer_field_spec.rb +53 -0
- data/spec/models/v1_header_field_spec.rb +53 -0
- data/spec/models/v1_inspection_data_spec.rb +83 -0
- data/spec/models/v1_inspection_spec.rb +89 -0
- data/spec/models/v1_inspection_status_changes_event_ack_response_spec.rb +35 -0
- data/spec/models/v1_inspection_status_changes_event_ack_spec.rb +41 -0
- data/spec/models/v1_inspection_status_changes_event_request_spec.rb +47 -0
- data/spec/models/v1_inspection_status_changes_event_spec.rb +47 -0
- data/spec/models/v1_integration_id_spec.rb +53 -0
- data/spec/models/v1_item_spec.rb +77 -0
- data/spec/models/v1_list_accounts_request_spec.rb +53 -0
- data/spec/models/v1_list_accounts_response_spec.rb +47 -0
- data/spec/models/v1_list_assets_request_spec.rb +65 -0
- data/spec/models/v1_list_assets_response_spec.rb +47 -0
- data/spec/models/v1_list_folders_request_spec.rb +59 -0
- data/spec/models/v1_list_folders_response_spec.rb +47 -0
- data/spec/models/v1_list_inspections_request_spec.rb +71 -0
- data/spec/models/v1_list_inspections_response_spec.rb +53 -0
- data/spec/models/v1_list_templates_request_spec.rb +65 -0
- data/spec/models/v1_list_templates_response_spec.rb +53 -0
- data/spec/models/v1_list_users_request_spec.rb +59 -0
- data/spec/models/v1_list_users_response_spec.rb +47 -0
- data/spec/models/v1_paging_response_spec.rb +35 -0
- data/spec/models/v1_paging_spec.rb +35 -0
- data/spec/models/v1_photo_spec.rb +47 -0
- data/spec/models/v1_property_spec.rb +41 -0
- data/spec/models/v1_rating_checkbox_spec.rb +69 -0
- data/spec/models/v1_rating_control_spec.rb +59 -0
- data/spec/models/v1_rating_drop_down_option_spec.rb +69 -0
- data/spec/models/v1_rating_drop_down_spec.rb +47 -0
- data/spec/models/v1_rating_groups_spec.rb +47 -0
- data/spec/models/v1_rating_image_spec.rb +35 -0
- data/spec/models/v1_rating_radio_group_option_spec.rb +63 -0
- data/spec/models/v1_rating_radio_group_spec.rb +47 -0
- data/spec/models/v1_rating_values_spec.rb +47 -0
- data/spec/models/v1_scheduled_inspection_spec.rb +59 -0
- data/spec/models/v1_section_spec.rb +47 -0
- data/spec/models/v1_set_assets_archived_request_spec.rb +53 -0
- data/spec/models/v1_set_assets_archived_response_spec.rb +35 -0
- data/spec/models/v1_set_inspections_archived_request_spec.rb +47 -0
- data/spec/models/v1_set_inspections_archived_response_spec.rb +35 -0
- data/spec/models/v1_set_templates_archived_request_spec.rb +53 -0
- data/spec/models/v1_set_templates_archived_response_spec.rb +35 -0
- data/spec/models/v1_string_array_spec.rb +41 -0
- data/spec/models/v1_template_spec.rb +101 -0
- data/spec/models/v1_unit_spec.rb +47 -0
- data/spec/models/v1_update_account_statuses_request_spec.rb +47 -0
- data/spec/models/v1_update_account_statuses_response_spec.rb +35 -0
- data/spec/models/v1_update_accounts_request_spec.rb +41 -0
- data/spec/models/v1_update_accounts_response_spec.rb +35 -0
- data/spec/models/v1_update_assets_request_spec.rb +53 -0
- data/spec/models/v1_update_assets_response_spec.rb +35 -0
- data/spec/models/v1_update_folder_statuses_request_spec.rb +53 -0
- data/spec/models/v1_update_folder_statuses_response_spec.rb +35 -0
- data/spec/models/v1_update_folders_request_spec.rb +47 -0
- data/spec/models/v1_update_folders_response_spec.rb +41 -0
- data/spec/models/v1_update_inspections_request_spec.rb +47 -0
- data/spec/models/v1_update_inspections_response_spec.rb +35 -0
- data/spec/models/v1_update_templates_request_spec.rb +53 -0
- data/spec/models/v1_update_templates_response_spec.rb +35 -0
- data/spec/models/v1_update_user_statuses_request_spec.rb +53 -0
- data/spec/models/v1_update_user_statuses_response_spec.rb +35 -0
- data/spec/models/v1_update_users_request_spec.rb +47 -0
- data/spec/models/v1_update_users_response_spec.rb +41 -0
- data/spec/models/v1_user_spec.rb +71 -0
- data/spec/spec_helper.rb +110 -0
- metadata +658 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
|
|
14
|
+
describe HappyCo::Configuration do
|
|
15
|
+
let(:config) { HappyCo::Configuration.default }
|
|
16
|
+
|
|
17
|
+
before(:each) do
|
|
18
|
+
# uncomment below to setup host and base_path
|
|
19
|
+
#require 'URI'
|
|
20
|
+
#uri = URI.parse("http://test.com/api")
|
|
21
|
+
#HappyCo.configure do |c|
|
|
22
|
+
# c.host = uri.host
|
|
23
|
+
# c.base_path = uri.path
|
|
24
|
+
#end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe '#base_url' do
|
|
28
|
+
it 'should have the default value' do
|
|
29
|
+
# uncomment below to test default value of the base path
|
|
30
|
+
#expect(config.base_url).to eq("http://test.com/api")
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
it 'should remove trailing slashes' do
|
|
34
|
+
[nil, '', '/', '//'].each do |base_path|
|
|
35
|
+
config.base_path = base_path
|
|
36
|
+
# uncomment below to test trailing slashes
|
|
37
|
+
#expect(config.base_url).to eq("http://test.com/api")
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::CreateAccountsRequestAccountWithAdmin
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'CreateAccountsRequestAccountWithAdmin' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::CreateAccountsRequestAccountWithAdmin.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of CreateAccountsRequestAccountWithAdmin' do
|
|
30
|
+
it 'should create an instact of CreateAccountsRequestAccountWithAdmin' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::CreateAccountsRequestAccountWithAdmin)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "account"' 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
|
+
describe 'test attribute "admin"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
47
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::CreateAccountsResponseAccountIDWithAdminID
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'CreateAccountsResponseAccountIDWithAdminID' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::CreateAccountsResponseAccountIDWithAdminID.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of CreateAccountsResponseAccountIDWithAdminID' do
|
|
30
|
+
it 'should create an instact of CreateAccountsResponseAccountIDWithAdminID' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::CreateAccountsResponseAccountIDWithAdminID)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "account_id"' 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
|
+
describe 'test attribute "admin_id"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
47
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::InspectionStatusChangeStatus
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'InspectionStatusChangeStatus' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::InspectionStatusChangeStatus.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of InspectionStatusChangeStatus' do
|
|
30
|
+
it 'should create an instact of InspectionStatusChangeStatus' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::InspectionStatusChangeStatus)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::InspectionStatusChangesEventInspectionStatusChange
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'InspectionStatusChangesEventInspectionStatusChange' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::InspectionStatusChangesEventInspectionStatusChange.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of InspectionStatusChangesEventInspectionStatusChange' do
|
|
30
|
+
it 'should create an instact of InspectionStatusChangesEventInspectionStatusChange' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::InspectionStatusChangesEventInspectionStatusChange)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "inspection_id"' 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
|
+
describe 'test attribute "from_status"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SCHEDULED", "IN_PROGRESS", "COMPLETED"])
|
|
44
|
+
#validator.allowable_values.each do |value|
|
|
45
|
+
# expect { @instance.from_status = value }.not_to raise_error
|
|
46
|
+
#end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
describe 'test attribute "to_status"' do
|
|
51
|
+
it 'should work' do
|
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
53
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SCHEDULED", "IN_PROGRESS", "COMPLETED"])
|
|
54
|
+
#validator.allowable_values.each do |value|
|
|
55
|
+
# expect { @instance.to_status = value }.not_to raise_error
|
|
56
|
+
#end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
61
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::UpdateAccountsRequestAccountWithAdminId
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'UpdateAccountsRequestAccountWithAdminId' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::UpdateAccountsRequestAccountWithAdminId.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of UpdateAccountsRequestAccountWithAdminId' do
|
|
30
|
+
it 'should create an instact of UpdateAccountsRequestAccountWithAdminId' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::UpdateAccountsRequestAccountWithAdminId)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "account"' 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
|
+
describe 'test attribute "admin_user_id"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
47
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::V1Account
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V1Account' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::V1Account.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V1Account' do
|
|
30
|
+
it 'should create an instact of V1Account' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::V1Account)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "id"' 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
|
+
describe 'test attribute "inactive"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "name"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "phone"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "address_line_1"' 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
|
+
describe 'test attribute "address_line_2"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "city"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "state"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "postal_code"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "country"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
end
|
|
95
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::V1AddInspectionPhotoRequest
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V1AddInspectionPhotoRequest' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::V1AddInspectionPhotoRequest.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V1AddInspectionPhotoRequest' do
|
|
30
|
+
it 'should create an instact of V1AddInspectionPhotoRequest' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::V1AddInspectionPhotoRequest)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "folder_id"' 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
|
+
describe 'test attribute "inspection_id"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "file_name"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "data"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
end
|
|
59
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::V1AddInspectionPhotoResponse
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V1AddInspectionPhotoResponse' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::V1AddInspectionPhotoResponse.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V1AddInspectionPhotoResponse' do
|
|
30
|
+
it 'should create an instact of V1AddInspectionPhotoResponse' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::V1AddInspectionPhotoResponse)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "photo_id"' 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
|
+
describe 'test attribute "error"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
47
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::V1AddInspectionPhotosRequest
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V1AddInspectionPhotosRequest' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::V1AddInspectionPhotosRequest.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V1AddInspectionPhotosRequest' do
|
|
30
|
+
it 'should create an instact of V1AddInspectionPhotosRequest' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::V1AddInspectionPhotosRequest)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "account_id"' 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
|
+
describe 'test attribute "requests"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
47
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::V1AddInspectionPhotosResponse
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V1AddInspectionPhotosResponse' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::V1AddInspectionPhotosResponse.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V1AddInspectionPhotosResponse' do
|
|
30
|
+
it 'should create an instact of V1AddInspectionPhotosResponse' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::V1AddInspectionPhotosResponse)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "responses"' 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
|
|
41
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::V1AddUsersRequest
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V1AddUsersRequest' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::V1AddUsersRequest.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V1AddUsersRequest' do
|
|
30
|
+
it 'should create an instact of V1AddUsersRequest' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::V1AddUsersRequest)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "account_id"' 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
|
+
describe 'test attribute "users"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
47
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Merged swaggers
|
|
3
|
+
|
|
4
|
+
#All happy services merged together
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for HappyCo::V1AddUsersResponse
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'V1AddUsersResponse' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = HappyCo::V1AddUsersResponse.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of V1AddUsersResponse' do
|
|
30
|
+
it 'should create an instact of V1AddUsersResponse' do
|
|
31
|
+
expect(@instance).to be_instance_of(HappyCo::V1AddUsersResponse)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "user_ids"' 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
|
|
41
|
+
|