hubspot-api-client 9.2.0 → 9.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +20 -22
- data/lib/hubspot-api-client.rb +38 -14
- data/lib/hubspot/version.rb +1 -1
- data/spec/cms/audit-logs/api/default_api_spec.rb +54 -0
- data/spec/cms/audit-logs/models/collection_response_public_audit_log_spec.rb +47 -0
- data/spec/cms/audit-logs/models/error_detail_spec.rb +65 -0
- data/spec/cms/audit-logs/models/error_spec.rb +77 -0
- data/spec/cms/audit-logs/models/next_page_spec.rb +47 -0
- data/spec/cms/audit-logs/models/paging_spec.rb +41 -0
- data/spec/cms/audit-logs/models/public_audit_log_spec.rb +85 -0
- data/spec/cms/blogs/authors/api/default_api_spec.rb +1 -1
- data/spec/cms/blogs/authors/models/batch_input_blog_author_spec.rb +41 -0
- data/spec/cms/blogs/authors/models/batch_input_json_node_spec.rb +41 -0
- data/spec/cms/blogs/authors/models/batch_input_string_spec.rb +41 -0
- data/spec/cms/blogs/authors/models/batch_response_blog_author_with_errors_spec.rb +87 -0
- data/spec/cms/blogs/authors/models/blog_author_spec.rb +107 -0
- data/spec/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging_spec.rb +53 -0
- data/spec/cms/blogs/authors/models/error_detail_spec.rb +65 -0
- data/spec/cms/blogs/authors/models/error_spec.rb +77 -0
- data/spec/cms/blogs/authors/models/forward_paging_spec.rb +41 -0
- data/spec/cms/blogs/authors/models/next_page_spec.rb +47 -0
- data/spec/cms/blogs/authors/models/standard_error_spec.rb +83 -0
- data/spec/cms/blogs/blog-posts/api/default_api_spec.rb +171 -44
- data/spec/cms/blogs/blog-posts/models/angle_spec.rb +51 -0
- data/spec/cms/blogs/blog-posts/models/background_image_spec.rb +57 -0
- data/spec/cms/blogs/blog-posts/models/batch_input_blog_post_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/batch_input_json_node_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/batch_input_string_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors_spec.rb +87 -0
- data/spec/cms/blogs/blog-posts/models/blog_post_spec.rb +417 -0
- data/spec/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging_spec.rb +53 -0
- data/spec/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post_spec.rb +53 -0
- data/spec/cms/blogs/blog-posts/models/color_stop_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/content_clone_request_v_next_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/content_schedule_request_v_next_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/error_detail_spec.rb +65 -0
- data/spec/cms/blogs/blog-posts/models/error_spec.rb +77 -0
- data/spec/cms/blogs/blog-posts/models/forward_paging_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/gradient_spec.rb +53 -0
- data/spec/cms/blogs/blog-posts/models/layout_section_spec.rb +113 -0
- data/spec/cms/blogs/blog-posts/models/next_page_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/paging_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/previous_page_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/rgba_color_spec.rb +59 -0
- data/spec/cms/blogs/blog-posts/models/row_meta_data_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/side_or_corner_spec.rb +55 -0
- data/spec/cms/blogs/blog-posts/models/standard_error_spec.rb +83 -0
- data/spec/cms/blogs/blog-posts/models/styles_spec.rb +85 -0
- data/spec/cms/blogs/blog-posts/models/version_blog_post_spec.rb +59 -0
- data/spec/cms/blogs/blog-posts/models/version_user_spec.rb +53 -0
- data/spec/cms/blogs/tags/api/default_api_spec.rb +43 -43
- data/spec/cms/blogs/tags/models/batch_input_json_node_spec.rb +41 -0
- data/spec/cms/blogs/tags/models/batch_input_string_spec.rb +41 -0
- data/spec/cms/blogs/tags/models/batch_input_tag_spec.rb +41 -0
- data/spec/cms/blogs/tags/models/batch_response_tag_with_errors_spec.rb +87 -0
- data/spec/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging_spec.rb +53 -0
- data/spec/cms/blogs/tags/models/error_detail_spec.rb +65 -0
- data/spec/cms/blogs/tags/models/error_spec.rb +77 -0
- data/spec/cms/blogs/tags/models/forward_paging_spec.rb +41 -0
- data/spec/cms/blogs/tags/models/next_page_spec.rb +47 -0
- data/spec/cms/blogs/tags/models/standard_error_spec.rb +83 -0
- data/spec/cms/blogs/tags/models/tag_spec.rb +65 -0
- data/spec/cms/domains/api/domains_api_spec.rb +71 -0
- data/spec/cms/domains/models/collection_response_with_total_domain_spec.rb +53 -0
- data/spec/cms/domains/models/domain_cdn_config_spec.rb +149 -0
- data/spec/cms/domains/models/domain_setup_info_spec.rb +47 -0
- data/spec/cms/domains/models/domain_spec.rb +403 -0
- data/spec/cms/domains/models/error_detail_spec.rb +65 -0
- data/spec/cms/domains/models/error_spec.rb +77 -0
- data/spec/cms/domains/models/next_page_spec.rb +47 -0
- data/spec/cms/domains/models/paging_spec.rb +41 -0
- data/spec/cms/hubdb/api/rows_api_spec.rb +160 -0
- data/spec/cms/hubdb/api/rows_batch_api_spec.rb +126 -0
- data/spec/cms/hubdb/api/tables_api_spec.rb +237 -0
- data/spec/cms/hubdb/models/batch_input_hub_db_table_row_v3_spec.rb +41 -0
- data/spec/cms/hubdb/models/batch_input_json_node_spec.rb +41 -0
- data/spec/cms/hubdb/models/batch_input_string_spec.rb +41 -0
- data/spec/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors_spec.rb +87 -0
- data/spec/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging_spec.rb +53 -0
- data/spec/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging_spec.rb +53 -0
- data/spec/cms/hubdb/models/column_input_spec.rb +77 -0
- data/spec/cms/hubdb/models/column_spec.rb +117 -0
- data/spec/cms/hubdb/models/error_detail_spec.rb +65 -0
- data/spec/cms/hubdb/models/error_spec.rb +77 -0
- data/spec/cms/hubdb/models/foreign_id_spec.rb +53 -0
- data/spec/cms/hubdb/models/forward_paging_spec.rb +41 -0
- data/spec/cms/hubdb/models/hub_db_table_clone_request_spec.rb +53 -0
- data/spec/cms/hubdb/models/hub_db_table_row_v3_input_spec.rb +59 -0
- data/spec/cms/hubdb/models/hub_db_table_row_v3_spec.rb +71 -0
- data/spec/cms/hubdb/models/hub_db_table_v3_input_spec.rb +83 -0
- data/spec/cms/hubdb/models/hub_db_table_v3_live_input_spec.rb +59 -0
- data/spec/cms/hubdb/models/hub_db_table_v3_spec.rb +143 -0
- data/spec/cms/hubdb/models/import_result_spec.rb +59 -0
- data/spec/cms/hubdb/models/next_page_spec.rb +47 -0
- data/spec/cms/hubdb/models/option_spec.rb +59 -0
- data/spec/cms/hubdb/models/simple_user_spec.rb +59 -0
- data/spec/cms/hubdb/models/standard_error_spec.rb +83 -0
- data/spec/cms/performance/api/default_api_spec.rb +73 -0
- data/spec/cms/performance/models/error_detail_spec.rb +65 -0
- data/spec/cms/performance/models/error_spec.rb +77 -0
- data/spec/cms/performance/models/performance_view_spec.rb +167 -0
- data/spec/cms/performance/models/public_performance_response_spec.rb +85 -0
- data/spec/cms/site-search/api/default_api_spec.rb +78 -0
- data/spec/cms/site-search/models/content_search_result_spec.rb +145 -0
- data/spec/cms/site-search/models/error_detail_spec.rb +65 -0
- data/spec/cms/site-search/models/error_spec.rb +77 -0
- data/spec/cms/site-search/models/indexed_data_spec.rb +57 -0
- data/spec/cms/site-search/models/public_search_results_spec.rb +71 -0
- data/spec/cms/site-search/models/search_hit_field_spec.rb +59 -0
- data/spec/cms/url-redirects/api/redirects_api_spec.rb +107 -0
- data/spec/cms/url-redirects/models/collection_response_with_total_url_mapping_spec.rb +53 -0
- data/spec/cms/url-redirects/models/error_detail_spec.rb +65 -0
- data/spec/cms/url-redirects/models/error_spec.rb +77 -0
- data/spec/cms/url-redirects/models/next_page_spec.rb +47 -0
- data/spec/cms/url-redirects/models/paging_spec.rb +41 -0
- data/spec/cms/url-redirects/models/url_mapping_create_request_body_spec.rb +95 -0
- data/spec/cms/url-redirects/models/url_mapping_spec.rb +189 -0
- data/spec/crm/associations/api/batch_api_spec.rb +77 -0
- data/spec/crm/associations/api/types_api_spec.rb +48 -0
- data/spec/crm/associations/models/associated_id_spec.rb +47 -0
- data/spec/crm/associations/models/batch_input_public_association_spec.rb +41 -0
- data/spec/crm/associations/models/batch_input_public_object_id_spec.rb +41 -0
- data/spec/crm/associations/models/batch_response_public_association_multi_spec.rb +81 -0
- data/spec/crm/associations/models/batch_response_public_association_spec.rb +81 -0
- data/spec/crm/associations/models/collection_response_public_association_definiton_spec.rb +47 -0
- data/spec/crm/associations/models/error_category_spec.rb +51 -0
- data/spec/crm/associations/models/error_detail_spec.rb +65 -0
- data/spec/crm/associations/models/error_spec.rb +77 -0
- data/spec/crm/associations/models/next_page_spec.rb +47 -0
- data/spec/crm/associations/models/paging_spec.rb +41 -0
- data/spec/crm/associations/models/public_association_definiton_spec.rb +47 -0
- data/spec/crm/associations/models/public_association_multi_spec.rb +47 -0
- data/spec/crm/associations/models/public_association_spec.rb +53 -0
- data/spec/crm/associations/models/public_object_id_spec.rb +41 -0
- data/spec/crm/associations/models/standard_error_spec.rb +83 -0
- data/spec/crm/companies/api/associations_api_spec.rb +79 -0
- data/spec/crm/companies/api/basic_api_spec.rb +106 -0
- data/spec/crm/companies/api/batch_api_spec.rb +84 -0
- data/spec/crm/companies/api/search_api_spec.rb +47 -0
- data/spec/crm/companies/models/associated_id_spec.rb +47 -0
- data/spec/crm/companies/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/companies/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/companies/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/companies/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/companies/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/companies/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/companies/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/companies/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/companies/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/companies/models/error_category_spec.rb +51 -0
- data/spec/crm/companies/models/error_detail_spec.rb +65 -0
- data/spec/crm/companies/models/error_spec.rb +77 -0
- data/spec/crm/companies/models/filter_group_spec.rb +41 -0
- data/spec/crm/companies/models/filter_spec.rb +57 -0
- data/spec/crm/companies/models/next_page_spec.rb +47 -0
- data/spec/crm/companies/models/paging_spec.rb +47 -0
- data/spec/crm/companies/models/previous_page_spec.rb +47 -0
- data/spec/crm/companies/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/companies/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/companies/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/companies/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/companies/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/companies/models/standard_error_spec.rb +83 -0
- data/spec/crm/contacts/api/associations_api_spec.rb +79 -0
- data/spec/crm/contacts/api/basic_api_spec.rb +106 -0
- data/spec/crm/contacts/api/batch_api_spec.rb +84 -0
- data/spec/crm/contacts/api/search_api_spec.rb +47 -0
- data/spec/crm/contacts/models/associated_id_spec.rb +47 -0
- data/spec/crm/contacts/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/contacts/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/contacts/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/contacts/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/contacts/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/contacts/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/contacts/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/contacts/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/contacts/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/contacts/models/error_category_spec.rb +51 -0
- data/spec/crm/contacts/models/error_detail_spec.rb +65 -0
- data/spec/crm/contacts/models/error_spec.rb +77 -0
- data/spec/crm/contacts/models/filter_group_spec.rb +41 -0
- data/spec/crm/contacts/models/filter_spec.rb +57 -0
- data/spec/crm/contacts/models/next_page_spec.rb +47 -0
- data/spec/crm/contacts/models/paging_spec.rb +47 -0
- data/spec/crm/contacts/models/previous_page_spec.rb +47 -0
- data/spec/crm/contacts/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/contacts/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/contacts/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/contacts/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/contacts/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/contacts/models/standard_error_spec.rb +83 -0
- data/spec/crm/deals/api/associations_api_spec.rb +79 -0
- data/spec/crm/deals/api/basic_api_spec.rb +106 -0
- data/spec/crm/deals/api/batch_api_spec.rb +84 -0
- data/spec/crm/deals/api/search_api_spec.rb +47 -0
- data/spec/crm/deals/models/associated_id_spec.rb +47 -0
- data/spec/crm/deals/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/deals/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/deals/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/deals/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/deals/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/deals/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/deals/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/deals/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/deals/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/deals/models/error_category_spec.rb +51 -0
- data/spec/crm/deals/models/error_detail_spec.rb +65 -0
- data/spec/crm/deals/models/error_spec.rb +77 -0
- data/spec/crm/deals/models/filter_group_spec.rb +41 -0
- data/spec/crm/deals/models/filter_spec.rb +57 -0
- data/spec/crm/deals/models/next_page_spec.rb +47 -0
- data/spec/crm/deals/models/paging_spec.rb +47 -0
- data/spec/crm/deals/models/previous_page_spec.rb +47 -0
- data/spec/crm/deals/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/deals/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/deals/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/deals/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/deals/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/deals/models/standard_error_spec.rb +83 -0
- data/spec/crm/extensions/cards/api/cards_api_spec.rb +100 -0
- data/spec/crm/extensions/cards/api/sample_response_api_spec.rb +46 -0
- data/spec/crm/extensions/cards/models/action_confirmation_body_spec.rb +53 -0
- data/spec/crm/extensions/cards/models/action_hook_action_body_spec.rb +79 -0
- data/spec/crm/extensions/cards/models/card_actions_spec.rb +41 -0
- data/spec/crm/extensions/cards/models/card_create_request_spec.rb +59 -0
- data/spec/crm/extensions/cards/models/card_display_body_spec.rb +41 -0
- data/spec/crm/extensions/cards/models/card_display_property_spec.rb +63 -0
- data/spec/crm/extensions/cards/models/card_fetch_body_patch_spec.rb +47 -0
- data/spec/crm/extensions/cards/models/card_fetch_body_spec.rb +47 -0
- data/spec/crm/extensions/cards/models/card_list_response_spec.rb +41 -0
- data/spec/crm/extensions/cards/models/card_object_type_body_spec.rb +51 -0
- data/spec/crm/extensions/cards/models/card_patch_request_spec.rb +59 -0
- data/spec/crm/extensions/cards/models/card_response_spec.rb +77 -0
- data/spec/crm/extensions/cards/models/display_option_spec.rb +57 -0
- data/spec/crm/extensions/cards/models/error_detail_spec.rb +65 -0
- data/spec/crm/extensions/cards/models/error_spec.rb +77 -0
- data/spec/crm/extensions/cards/models/i_frame_action_body_spec.rb +75 -0
- data/spec/crm/extensions/cards/models/integrator_card_payload_response_spec.rb +75 -0
- data/spec/crm/extensions/cards/models/integrator_object_result_spec.rb +65 -0
- data/spec/crm/extensions/cards/models/object_token_spec.rb +63 -0
- data/spec/crm/extensions/cards/models/top_level_actions_spec.rb +53 -0
- data/spec/crm/imports/api/core_api_spec.rb +86 -0
- data/spec/crm/imports/models/action_response_spec.rb +69 -0
- data/spec/crm/imports/models/collection_response_public_import_response_spec.rb +47 -0
- data/spec/crm/imports/models/error_detail_spec.rb +65 -0
- data/spec/crm/imports/models/error_spec.rb +77 -0
- data/spec/crm/imports/models/next_page_spec.rb +47 -0
- data/spec/crm/imports/models/paging_spec.rb +47 -0
- data/spec/crm/imports/models/previous_page_spec.rb +47 -0
- data/spec/crm/imports/models/public_import_metadata_spec.rb +53 -0
- data/spec/crm/imports/models/public_import_response_spec.rb +87 -0
- data/spec/crm/imports/models/public_object_list_record_spec.rb +47 -0
- data/spec/crm/line_items/api/associations_api_spec.rb +79 -0
- data/spec/crm/line_items/api/basic_api_spec.rb +106 -0
- data/spec/crm/line_items/api/batch_api_spec.rb +84 -0
- data/spec/crm/line_items/api/search_api_spec.rb +47 -0
- data/spec/crm/line_items/models/associated_id_spec.rb +47 -0
- data/spec/crm/line_items/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/line_items/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/line_items/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/line_items/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/line_items/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/line_items/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/line_items/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/line_items/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/line_items/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/line_items/models/error_category_spec.rb +51 -0
- data/spec/crm/line_items/models/error_detail_spec.rb +65 -0
- data/spec/crm/line_items/models/error_spec.rb +77 -0
- data/spec/crm/line_items/models/filter_group_spec.rb +41 -0
- data/spec/crm/line_items/models/filter_spec.rb +57 -0
- data/spec/crm/line_items/models/next_page_spec.rb +47 -0
- data/spec/crm/line_items/models/paging_spec.rb +47 -0
- data/spec/crm/line_items/models/previous_page_spec.rb +47 -0
- data/spec/crm/line_items/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/line_items/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/line_items/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/line_items/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/line_items/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/line_items/models/standard_error_spec.rb +83 -0
- data/spec/crm/objects/api/associations_api_spec.rb +82 -0
- data/spec/crm/objects/api/basic_api_spec.rb +111 -0
- data/spec/crm/objects/api/batch_api_spec.rb +88 -0
- data/spec/crm/objects/api/search_api_spec.rb +48 -0
- data/spec/crm/objects/models/associated_id_spec.rb +47 -0
- data/spec/crm/objects/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/objects/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/objects/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/objects/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/objects/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/objects/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/objects/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/objects/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/objects/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/objects/models/error_category_spec.rb +51 -0
- data/spec/crm/objects/models/error_detail_spec.rb +65 -0
- data/spec/crm/objects/models/error_spec.rb +77 -0
- data/spec/crm/objects/models/filter_group_spec.rb +41 -0
- data/spec/crm/objects/models/filter_spec.rb +57 -0
- data/spec/crm/objects/models/next_page_spec.rb +47 -0
- data/spec/crm/objects/models/paging_spec.rb +47 -0
- data/spec/crm/objects/models/previous_page_spec.rb +47 -0
- data/spec/crm/objects/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/objects/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/objects/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/objects/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/objects/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/objects/models/standard_error_spec.rb +83 -0
- data/spec/{owners → crm/owners}/api/default_api_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/collection_response_public_owner_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/error_detail_spec.rb +13 -1
- data/spec/{owners → crm/owners}/models/error_spec.rb +7 -1
- data/spec/{owners → crm/owners}/models/next_page_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/paging_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/public_owner_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/public_team_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/api/pipeline_stages_api_spec.rb +15 -15
- data/spec/{pipelines → crm/pipelines}/api/pipelines_api_spec.rb +15 -15
- data/spec/{pipelines → crm/pipelines}/models/collection_response_pipeline_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/collection_response_pipeline_stage_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/error_detail_spec.rb +13 -1
- data/spec/{pipelines → crm/pipelines}/models/error_spec.rb +7 -1
- data/spec/{pipelines → crm/pipelines}/models/next_page_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/paging_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_input_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_patch_input_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_stage_input_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_stage_patch_input_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_stage_spec.rb +1 -1
- data/spec/crm/products/api/associations_api_spec.rb +79 -0
- data/spec/crm/products/api/basic_api_spec.rb +106 -0
- data/spec/crm/products/api/batch_api_spec.rb +84 -0
- data/spec/crm/products/api/search_api_spec.rb +47 -0
- data/spec/crm/products/models/associated_id_spec.rb +47 -0
- data/spec/crm/products/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/products/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/products/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/products/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/products/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/products/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/products/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/products/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/products/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/products/models/error_category_spec.rb +51 -0
- data/spec/crm/products/models/error_detail_spec.rb +65 -0
- data/spec/crm/products/models/error_spec.rb +77 -0
- data/spec/crm/products/models/filter_group_spec.rb +41 -0
- data/spec/crm/products/models/filter_spec.rb +57 -0
- data/spec/crm/products/models/next_page_spec.rb +47 -0
- data/spec/crm/products/models/paging_spec.rb +47 -0
- data/spec/crm/products/models/previous_page_spec.rb +47 -0
- data/spec/crm/products/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/products/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/products/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/products/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/products/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/products/models/standard_error_spec.rb +83 -0
- data/spec/{properties → crm/properties}/api/batch_api_spec.rb +10 -10
- data/spec/{properties → crm/properties}/api/core_api_spec.rb +23 -23
- data/spec/{properties → crm/properties}/api/groups_api_spec.rb +23 -23
- data/spec/{properties → crm/properties}/models/batch_input_property_create_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/batch_input_property_name_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/batch_read_input_property_name_spec.rb +3 -3
- data/spec/{properties → crm/properties}/models/batch_response_property_spec.rb +15 -9
- data/spec/{properties → crm/properties}/models/collection_response_property_group_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/collection_response_property_spec.rb +1 -1
- data/spec/crm/properties/models/error_category_spec.rb +51 -0
- data/spec/{properties → crm/properties}/models/error_detail_spec.rb +4 -4
- data/spec/{properties → crm/properties}/models/error_spec.rb +7 -1
- data/spec/{properties → crm/properties}/models/next_page_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/option_input_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/option_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/paging_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_create_spec.rb +7 -1
- data/spec/{properties → crm/properties}/models/property_group_create_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_group_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_group_update_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_modification_metadata_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_name_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_spec.rb +1 -5
- data/spec/{properties → crm/properties}/models/property_update_spec.rb +7 -1
- data/spec/crm/properties/models/standard_error_spec.rb +83 -0
- data/spec/crm/quotes/api/associations_api_spec.rb +50 -0
- data/spec/crm/quotes/api/basic_api_spec.rb +69 -0
- data/spec/crm/quotes/api/batch_api_spec.rb +48 -0
- data/spec/crm/quotes/api/search_api_spec.rb +47 -0
- data/spec/crm/quotes/models/associated_id_spec.rb +47 -0
- data/spec/crm/quotes/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/quotes/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/quotes/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/quotes/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/quotes/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/quotes/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/quotes/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/quotes/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/quotes/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/quotes/models/error_category_spec.rb +51 -0
- data/spec/crm/quotes/models/error_detail_spec.rb +65 -0
- data/spec/crm/quotes/models/error_spec.rb +77 -0
- data/spec/crm/quotes/models/filter_group_spec.rb +41 -0
- data/spec/crm/quotes/models/filter_spec.rb +57 -0
- data/spec/crm/quotes/models/next_page_spec.rb +47 -0
- data/spec/crm/quotes/models/paging_spec.rb +47 -0
- data/spec/crm/quotes/models/previous_page_spec.rb +47 -0
- data/spec/crm/quotes/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/quotes/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/quotes/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/quotes/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/quotes/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/quotes/models/standard_error_spec.rb +83 -0
- data/spec/crm/schemas/api/core_api_spec.rb +121 -0
- data/spec/crm/schemas/api/default_api_spec.rb +45 -0
- data/spec/crm/schemas/models/association_definition_egg_spec.rb +73 -0
- data/spec/crm/schemas/models/association_definition_spec.rb +91 -0
- data/spec/crm/schemas/models/collection_response_object_schema_spec.rb +47 -0
- data/spec/crm/schemas/models/error_detail_spec.rb +65 -0
- data/spec/crm/schemas/models/error_spec.rb +77 -0
- data/spec/crm/schemas/models/next_page_spec.rb +47 -0
- data/spec/crm/schemas/models/object_schema_egg_spec.rb +83 -0
- data/spec/crm/schemas/models/object_schema_spec.rb +113 -0
- data/spec/crm/schemas/models/object_type_definition_labels_spec.rb +47 -0
- data/spec/crm/schemas/models/object_type_definition_patch_spec.rb +71 -0
- data/spec/crm/schemas/models/object_type_definition_spec.rb +107 -0
- data/spec/crm/schemas/models/object_type_property_create_spec.rb +99 -0
- data/spec/crm/schemas/models/option_input_spec.rb +65 -0
- data/spec/crm/schemas/models/option_spec.rb +65 -0
- data/spec/crm/schemas/models/paging_spec.rb +47 -0
- data/spec/crm/schemas/models/previous_page_spec.rb +47 -0
- data/spec/crm/schemas/models/property_modification_metadata_spec.rb +59 -0
- data/spec/crm/schemas/models/property_spec.rb +173 -0
- data/spec/crm/tickets/api/associations_api_spec.rb +79 -0
- data/spec/crm/tickets/api/basic_api_spec.rb +106 -0
- data/spec/crm/tickets/api/batch_api_spec.rb +84 -0
- data/spec/crm/tickets/api/search_api_spec.rb +47 -0
- data/spec/crm/tickets/models/associated_id_spec.rb +47 -0
- data/spec/crm/tickets/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/tickets/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/tickets/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/tickets/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/tickets/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/tickets/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/tickets/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/tickets/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/tickets/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/tickets/models/error_category_spec.rb +51 -0
- data/spec/crm/tickets/models/error_detail_spec.rb +65 -0
- data/spec/crm/tickets/models/error_spec.rb +77 -0
- data/spec/crm/tickets/models/filter_group_spec.rb +41 -0
- data/spec/crm/tickets/models/filter_spec.rb +57 -0
- data/spec/crm/tickets/models/next_page_spec.rb +47 -0
- data/spec/crm/tickets/models/paging_spec.rb +47 -0
- data/spec/crm/tickets/models/previous_page_spec.rb +47 -0
- data/spec/crm/tickets/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/tickets/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/tickets/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/tickets/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/tickets/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/tickets/models/standard_error_spec.rb +83 -0
- data/spec/crm/timeline/api/events_api_spec.rb +99 -0
- data/spec/crm/timeline/api/templates_api_spec.rb +100 -0
- data/spec/crm/timeline/api/tokens_api_spec.rb +78 -0
- data/spec/crm/timeline/models/batch_input_timeline_event_spec.rb +41 -0
- data/spec/crm/timeline/models/batch_response_timeline_event_response_spec.rb +75 -0
- data/spec/crm/timeline/models/batch_response_timeline_event_response_with_errors_spec.rb +87 -0
- data/spec/crm/timeline/models/collection_response_timeline_event_template_spec.rb +47 -0
- data/spec/crm/timeline/models/error_category_spec.rb +51 -0
- data/spec/crm/timeline/models/error_detail_spec.rb +65 -0
- data/spec/crm/timeline/models/error_spec.rb +77 -0
- data/spec/crm/timeline/models/event_detail_spec.rb +41 -0
- data/spec/crm/timeline/models/next_page_spec.rb +47 -0
- data/spec/crm/timeline/models/paging_spec.rb +47 -0
- data/spec/crm/timeline/models/previous_page_spec.rb +47 -0
- data/spec/crm/timeline/models/standard_error_spec.rb +83 -0
- data/spec/crm/timeline/models/timeline_event_i_frame_spec.rb +65 -0
- data/spec/crm/timeline/models/timeline_event_response_spec.rb +107 -0
- data/spec/crm/timeline/models/timeline_event_spec.rb +95 -0
- data/spec/crm/timeline/models/timeline_event_template_create_request_spec.rb +65 -0
- data/spec/crm/timeline/models/timeline_event_template_spec.rb +83 -0
- data/spec/crm/timeline/models/timeline_event_template_token_option_spec.rb +47 -0
- data/spec/crm/timeline/models/timeline_event_template_token_spec.rb +81 -0
- data/spec/crm/timeline/models/timeline_event_template_token_update_request_spec.rb +53 -0
- data/spec/crm/timeline/models/timeline_event_template_update_request_spec.rb +65 -0
- data/spec/oauth/api/default_api_spec.rb +37 -8
- data/spec/oauth/models/access_token_info_response_spec.rb +8 -2
- data/spec/oauth/models/error_detail_spec.rb +14 -2
- data/spec/oauth/models/error_spec.rb +8 -2
- data/spec/oauth/models/refresh_token_info_response_spec.rb +2 -2
- data/spec/oauth/models/token_response_if_spec.rb +53 -0
- data/spec/webhooks/api/settings_api_spec.rb +72 -0
- data/spec/webhooks/api/subscriptions_api_spec.rb +113 -0
- data/spec/webhooks/models/batch_input_subscription_batch_update_request_spec.rb +41 -0
- data/spec/webhooks/models/batch_response_subscription_response_spec.rb +75 -0
- data/spec/webhooks/models/batch_response_subscription_response_with_errors_spec.rb +87 -0
- data/spec/webhooks/models/error_category_spec.rb +51 -0
- data/spec/webhooks/models/error_detail_spec.rb +65 -0
- data/spec/webhooks/models/error_spec.rb +77 -0
- data/spec/webhooks/models/settings_change_request_spec.rb +47 -0
- data/spec/webhooks/models/settings_response_spec.rb +59 -0
- data/spec/webhooks/models/standard_error_spec.rb +83 -0
- data/spec/webhooks/models/subscription_batch_update_request_spec.rb +47 -0
- data/spec/webhooks/models/subscription_create_request_spec.rb +57 -0
- data/spec/webhooks/models/subscription_list_response_spec.rb +41 -0
- data/spec/webhooks/models/subscription_patch_request_spec.rb +41 -0
- data/spec/webhooks/models/subscription_response_spec.rb +75 -0
- data/spec/webhooks/models/throttling_settings_spec.rb +51 -0
- metadata +992 -108
- data/spec/oauth/api_client_spec.rb +0 -226
- data/spec/oauth/configuration_spec.rb +0 -42
- data/spec/owners/api_client_spec.rb +0 -226
- data/spec/owners/configuration_spec.rb +0 -42
- data/spec/pipelines/api_client_spec.rb +0 -226
- data/spec/pipelines/configuration_spec.rb +0 -42
- data/spec/properties/api_client_spec.rb +0 -226
- data/spec/properties/configuration_spec.rb +0 -42
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Blog Post endpoints
|
3
|
+
|
4
|
+
#\"Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags\"
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Hubspot::Cms::Blogs::BlogPosts::BatchInputString
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'BatchInputString' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Hubspot::Cms::Blogs::BlogPosts::BatchInputString.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of BatchInputString' do
|
31
|
+
it 'should create an instance of BatchInputString' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Blogs::BlogPosts::BatchInputString)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "inputs"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
=begin
|
2
|
+
#Blog Post endpoints
|
3
|
+
|
4
|
+
#\"Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags\"
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Hubspot::Cms::Blogs::BlogPosts::BatchResponseBlogPostWithErrors
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'BatchResponseBlogPostWithErrors' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Hubspot::Cms::Blogs::BlogPosts::BatchResponseBlogPostWithErrors.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of BatchResponseBlogPostWithErrors' do
|
31
|
+
it 'should create an instance of BatchResponseBlogPostWithErrors' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Blogs::BlogPosts::BatchResponseBlogPostWithErrors)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "status"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING", "PROCESSING", "CANCELED", "COMPLETE"])
|
39
|
+
# validator.allowable_values.each do |value|
|
40
|
+
# expect { @instance.status = value }.not_to raise_error
|
41
|
+
# end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "results"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "num_errors"' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe 'test attribute "errors"' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'test attribute "requested_at"' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe 'test attribute "started_at"' 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
|
+
describe 'test attribute "completed_at"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe 'test attribute "links"' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
end
|
@@ -0,0 +1,417 @@
|
|
1
|
+
=begin
|
2
|
+
#Blog Post endpoints
|
3
|
+
|
4
|
+
#\"Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags\"
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Hubspot::Cms::Blogs::BlogPosts::BlogPost
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'BlogPost' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Hubspot::Cms::Blogs::BlogPosts::BlogPost.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of BlogPost' do
|
31
|
+
it 'should create an instance of BlogPost' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Blogs::BlogPosts::BlogPost)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "slug"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "content_group_id"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "campaign"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "category_id"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "state"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "template_path"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "name"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "mab_experiment_id"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "archived"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "author_name"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "ab_test_id"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'test attribute "created_by_id"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "updated_by_id"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
describe 'test attribute "domain"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
describe 'test attribute "subcategory"' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
describe 'test attribute "ab_status"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["master", "variant", "loser_variant", "mab_master", "mab_variant", "automated_master", "automated_variant", "automated_loser_variant"])
|
135
|
+
# validator.allowable_values.each do |value|
|
136
|
+
# expect { @instance.ab_status = value }.not_to raise_error
|
137
|
+
# end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
describe 'test attribute "folder_id"' do
|
142
|
+
it 'should work' do
|
143
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
describe 'test attribute "widget_containers"' do
|
148
|
+
it 'should work' do
|
149
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
describe 'test attribute "widgets"' do
|
154
|
+
it 'should work' do
|
155
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
describe 'test attribute "language"' do
|
160
|
+
it 'should work' do
|
161
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
162
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["af", "af-na", "af-za", "agq", "agq-cm", "ak", "ak-gh", "am", "am-et", "ar", "ar-001", "ar-ae", "ar-bh", "ar-dj", "ar-dz", "ar-eg", "ar-eh", "ar-er", "ar-il", "ar-iq", "ar-jo", "ar-km", "ar-kw", "ar-lb", "ar-ly", "ar-ma", "ar-mr", "ar-om", "ar-ps", "ar-qa", "ar-sa", "ar-sd", "ar-so", "ar-ss", "ar-sy", "ar-td", "ar-tn", "ar-ye", "as", "as-in", "asa", "asa-tz", "ast", "ast-es", "az", "az-az", "bas", "bas-cm", "be", "be-by", "bem", "bem-zm", "bez", "bez-tz", "bg", "bg-bg", "bm", "bm-ml", "bn", "bn-bd", "bn-in", "bo", "bo-cn", "bo-in", "br", "br-fr", "brx", "brx-in", "bs", "bs-ba", "ca", "ca-ad", "ca-es", "ca-fr", "ca-it", "ccp", "ccp-bd", "ccp-in", "ce", "ce-ru", "cgg", "cgg-ug", "chr", "chr-us", "ckb", "ckb-iq", "ckb-ir", "cs", "cs-cz", "cu", "cu-ru", "cy", "cy-gb", "da", "da-dk", "da-gl", "dav", "dav-ke", "de", "de-at", "de-be", "de-ch", "de-de", "de-gr", "de-it", "de-li", "de-lu", "dje", "dje-ne", "dsb", "dsb-de", "dua", "dua-cm", "dyo", "dyo-sn", "dz", "dz-bt", "ebu", "ebu-ke", "ee", "ee-gh", "ee-tg", "el", "el-cy", "el-gr", "en", "en-001", "en-150", "en-ag", "en-ai", "en-as", "en-at", "en-au", "en-bb", "en-be", "en-bi", "en-bm", "en-bs", "en-bw", "en-bz", "en-ca", "en-cc", "en-ch", "en-ck", "en-cm", "en-cx", "en-cy", "en-de", "en-dg", "en-dk", "en-dm", "en-er", "en-fi", "en-fj", "en-fk", "en-fm", "en-gb", "en-gd", "en-gg", "en-gh", "en-gi", "en-gm", "en-gu", "en-gy", "en-hk", "en-ie", "en-il", "en-im", "en-in", "en-io", "en-je", "en-jm", "en-ke", "en-ki", "en-kn", "en-ky", "en-lc", "en-lr", "en-ls", "en-mg", "en-mh", "en-mo", "en-mp", "en-ms", "en-mt", "en-mu", "en-mw", "en-my", "en-na", "en-nf", "en-ng", "en-nl", "en-nr", "en-nu", "en-nz", "en-pg", "en-ph", "en-pk", "en-pn", "en-pr", "en-pw", "en-rw", "en-sb", "en-sc", "en-sd", "en-se", "en-sg", "en-sh", "en-si", "en-sl", "en-ss", "en-sx", "en-sz", "en-tc", "en-tk", "en-to", "en-tt", "en-tv", "en-tz", "en-ug", "en-um", "en-us", "en-vc", "en-vg", "en-vi", "en-vu", "en-ws", "en-za", "en-zm", "en-zw", "eo", "eo-001", "es", "es-419", "es-ar", "es-bo", "es-br", "es-bz", "es-cl", "es-co", "es-cr", "es-cu", "es-do", "es-ea", "es-ec", "es-es", "es-gq", "es-gt", "es-hn", "es-ic", "es-mx", "es-ni", "es-pa", "es-pe", "es-ph", "es-pr", "es-py", "es-sv", "es-us", "es-uy", "es-ve", "et", "et-ee", "eu", "eu-es", "ewo", "ewo-cm", "fa", "fa-af", "fa-ir", "ff", "ff-cm", "ff-gn", "ff-mr", "ff-sn", "fi", "fi-fi", "fil", "fil-ph", "fo", "fo-dk", "fo-fo", "fr", "fr-be", "fr-bf", "fr-bi", "fr-bj", "fr-bl", "fr-ca", "fr-cd", "fr-cf", "fr-cg", "fr-ch", "fr-ci", "fr-cm", "fr-dj", "fr-dz", "fr-fr", "fr-ga", "fr-gf", "fr-gn", "fr-gp", "fr-gq", "fr-ht", "fr-km", "fr-lu", "fr-ma", "fr-mc", "fr-mf", "fr-mg", "fr-ml", "fr-mq", "fr-mr", "fr-mu", "fr-nc", "fr-ne", "fr-pf", "fr-pm", "fr-re", "fr-rw", "fr-sc", "fr-sn", "fr-sy", "fr-td", "fr-tg", "fr-tn", "fr-vu", "fr-wf", "fr-yt", "fur", "fur-it", "fy", "fy-nl", "ga", "ga-ie", "gd", "gd-gb", "gl", "gl-es", "gsw", "gsw-ch", "gsw-fr", "gsw-li", "gu", "gu-in", "guz", "guz-ke", "gv", "gv-im", "ha", "ha-gh", "ha-ne", "ha-ng", "haw", "haw-us", "he", "hi", "hi-in", "hr", "hr-ba", "hr-hr", "hsb", "hsb-de", "hu", "hu-hu", "hy", "hy-am", "id", "ig", "ig-ng", "ii", "ii-cn", "id-id", "is", "is-is", "it", "it-ch", "it-it", "it-sm", "it-va", "he-il", "ja", "ja-jp", "jgo", "jgo-cm", "yi", "yi-001", "jmc", "jmc-tz", "ka", "ka-ge", "kab", "kab-dz", "kam", "kam-ke", "kde", "kde-tz", "kea", "kea-cv", "khq", "khq-ml", "ki", "ki-ke", "kk", "kk-kz", "kkj", "kkj-cm", "kl", "kl-gl", "kln", "kln-ke", "km", "km-kh", "kn", "kn-in", "ko", "ko-kp", "ko-kr", "kok", "kok-in", "ks", "ks-in", "ksb", "ksb-tz", "ksf", "ksf-cm", "ksh", "ksh-de", "kw", "kw-gb", "ky", "ky-kg", "lag", "lag-tz", "lb", "lb-lu", "lg", "lg-ug", "lkt", "lkt-us", "ln", "ln-ao", "ln-cd", "ln-cf", "ln-cg", "lo", "lo-la", "lrc", "lrc-iq", "lrc-ir", "lt", "lt-lt", "lu", "lu-cd", "luo", "luo-ke", "luy", "luy-ke", "lv", "lv-lv", "mas", "mas-ke", "mas-tz", "mer", "mer-ke", "mfe", "mfe-mu", "mg", "mg-mg", "mgh", "mgh-mz", "mgo", "mgo-cm", "mk", "mk-mk", "ml", "ml-in", "mn", "mn-mn", "mr", "mr-in", "ms", "ms-bn", "ms-my", "ms-sg", "mt", "mt-mt", "mua", "mua-cm", "my", "my-mm", "mzn", "mzn-ir", "naq", "naq-na", "nb", "nb-no", "nb-sj", "nd", "nd-zw", "nds", "nds-de", "nds-nl", "ne", "ne-in", "ne-np", "nl", "nl-aw", "nl-be", "nl-bq", "nl-cw", "nl-nl", "nl-sr", "nl-sx", "nmg", "nmg-cm", "nn", "nn-no", "nnh", "nnh-cm", "no", "no-no", "nus", "nus-ss", "nyn", "nyn-ug", "om", "om-et", "om-ke", "or", "or-in", "os", "os-ge", "os-ru", "pa", "pa-in", "pa-pk", "pl", "pl-pl", "prg", "prg-001", "ps", "ps-af", "pt", "pt-ao", "pt-br", "pt-ch", "pt-cv", "pt-gq", "pt-gw", "pt-lu", "pt-mo", "pt-mz", "pt-pt", "pt-st", "pt-tl", "qu", "qu-bo", "qu-ec", "qu-pe", "rm", "rm-ch", "rn", "rn-bi", "ro", "ro-md", "ro-ro", "rof", "rof-tz", "ru", "ru-by", "ru-kg", "ru-kz", "ru-md", "ru-ru", "ru-ua", "rw", "rw-rw", "rwk", "rwk-tz", "sa", "sah", "sah-ru", "saq", "saq-ke", "sbp", "sbp-tz", "sd", "sd-pk", "se", "se-fi", "se-no", "se-se", "seh", "seh-mz", "ses", "ses-ml", "sg", "sg-cf", "shi", "shi-ma", "si", "si-lk", "sk", "sk-sk", "sl", "sl-si", "smn", "smn-fi", "sn", "sn-zw", "so", "so-dj", "so-et", "so-ke", "so-so", "sq", "sq-al", "sq-mk", "sq-xk", "sr", "sr-ba", "sr-cs", "sr-me", "sr-rs", "sr-xk", "sv", "sv-ax", "sv-fi", "sv-se", "sw", "sw-cd", "sw-ke", "sw-tz", "sw-ug", "sy", "ta", "ta-in", "ta-lk", "ta-my", "ta-sg", "te", "te-in", "teo", "teo-ke", "teo-ug", "tg", "tg-tj", "th", "th-th", "ti", "ti-er", "ti-et", "tk", "tk-tm", "to", "to-to", "tr", "tr-cy", "tr-tr", "tt", "tt-ru", "twq", "twq-ne", "tzm", "tzm-ma", "ug", "ug-cn", "uk", "uk-ua", "ur", "ur-in", "ur-pk", "uz", "uz-af", "uz-uz", "vai", "vai-lr", "vi", "vi-vn", "vo", "vo-001", "vun", "vun-tz", "wae", "wae-ch", "wo", "wo-sn", "xog", "xog-ug", "yav", "yav-cm", "yo", "yo-bj", "yo-ng", "yue", "yue-cn", "yue-hk", "zgh", "zgh-ma", "zh", "zh-cn", "zh-hk", "zh-mo", "zh-sg", "zh-tw", "zh-hans", "zh-hant", "zu", "zu-za"])
|
163
|
+
# validator.allowable_values.each do |value|
|
164
|
+
# expect { @instance.language = value }.not_to raise_error
|
165
|
+
# end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
describe 'test attribute "translated_from_id"' do
|
170
|
+
it 'should work' do
|
171
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
describe 'test attribute "dynamic_page_hub_db_table_id"' do
|
176
|
+
it 'should work' do
|
177
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
describe 'test attribute "blog_author_id"' do
|
182
|
+
it 'should work' do
|
183
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
describe 'test attribute "html_title"' do
|
188
|
+
it 'should work' do
|
189
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
describe 'test attribute "page_redirected"' do
|
194
|
+
it 'should work' do
|
195
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
199
|
+
describe 'test attribute "page_expiry_enabled"' do
|
200
|
+
it 'should work' do
|
201
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
describe 'test attribute "page_expiry_date"' do
|
206
|
+
it 'should work' do
|
207
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
describe 'test attribute "page_expiry_redirect_id"' do
|
212
|
+
it 'should work' do
|
213
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
describe 'test attribute "page_expiry_redirect_url"' do
|
218
|
+
it 'should work' do
|
219
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
describe 'test attribute "use_featured_image"' do
|
224
|
+
it 'should work' do
|
225
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
describe 'test attribute "tag_ids"' do
|
230
|
+
it 'should work' do
|
231
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
describe 'test attribute "enable_google_amp_output_override"' do
|
236
|
+
it 'should work' do
|
237
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
describe 'test attribute "_post_body"' do
|
242
|
+
it 'should work' do
|
243
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
describe 'test attribute "post_summary"' do
|
248
|
+
it 'should work' do
|
249
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
describe 'test attribute "rss_body"' do
|
254
|
+
it 'should work' do
|
255
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
describe 'test attribute "rss_summary"' do
|
260
|
+
it 'should work' do
|
261
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
describe 'test attribute "password"' do
|
266
|
+
it 'should work' do
|
267
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
describe 'test attribute "attached_stylesheets"' do
|
272
|
+
it 'should work' do
|
273
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
describe 'test attribute "include_default_custom_css"' do
|
278
|
+
it 'should work' do
|
279
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
283
|
+
describe 'test attribute "enable_domain_stylesheets"' do
|
284
|
+
it 'should work' do
|
285
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
describe 'test attribute "enable_layout_stylesheets"' do
|
290
|
+
it 'should work' do
|
291
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
describe 'test attribute "meta_description"' do
|
296
|
+
it 'should work' do
|
297
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
describe 'test attribute "publish_immediately"' do
|
302
|
+
it 'should work' do
|
303
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
describe 'test attribute "head_html"' do
|
308
|
+
it 'should work' do
|
309
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
describe 'test attribute "footer_html"' do
|
314
|
+
it 'should work' do
|
315
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
describe 'test attribute "content_type_category"' do
|
320
|
+
it 'should work' do
|
321
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
322
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["0", "1", "2", "3", "4", "5", "6"])
|
323
|
+
# validator.allowable_values.each do |value|
|
324
|
+
# expect { @instance.content_type_category = value }.not_to raise_error
|
325
|
+
# end
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
describe 'test attribute "current_state"' do
|
330
|
+
it 'should work' do
|
331
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
332
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AUTOMATED", "AUTOMATED_DRAFT", "AUTOMATED_SENDING", "AUTOMATED_FOR_FORM", "AUTOMATED_FOR_FORM_BUFFER", "AUTOMATED_FOR_FORM_DRAFT", "AUTOMATED_FOR_FORM_LEGACY", "BLOG_EMAIL_DRAFT", "BLOG_EMAIL_PUBLISHED", "DRAFT", "DRAFT_AB", "DRAFT_AB_VARIANT", "ERROR", "LOSER_AB_VARIANT", "PAGE_STUB", "PRE_PROCESSING", "PROCESSING", "PUBLISHED", "PUBLISHED_AB", "PUBLISHED_AB_VARIANT", "PUBLISHED_OR_SCHEDULED", "RSS_TO_EMAIL_DRAFT", "RSS_TO_EMAIL_PUBLISHED", "SCHEDULED", "SCHEDULED_AB", "SCHEDULED_OR_PUBLISHED", "AUTOMATED_AB", "AUTOMATED_AB_VARIANT", "AUTOMATED_DRAFT_AB", "AUTOMATED_DRAFT_ABVARIANT", "AUTOMATED_LOSER_ABVARIANT"])
|
333
|
+
# validator.allowable_values.each do |value|
|
334
|
+
# expect { @instance.current_state = value }.not_to raise_error
|
335
|
+
# end
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
describe 'test attribute "link_rel_canonical_url"' do
|
340
|
+
it 'should work' do
|
341
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
describe 'test attribute "featured_image"' do
|
346
|
+
it 'should work' do
|
347
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
describe 'test attribute "featured_image_alt_text"' do
|
352
|
+
it 'should work' do
|
353
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
describe 'test attribute "public_access_rules_enabled"' do
|
358
|
+
it 'should work' do
|
359
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
describe 'test attribute "public_access_rules"' do
|
364
|
+
it 'should work' do
|
365
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
describe 'test attribute "layout_sections"' do
|
370
|
+
it 'should work' do
|
371
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
describe 'test attribute "theme_settings_values"' do
|
376
|
+
it 'should work' do
|
377
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
describe 'test attribute "url"' do
|
382
|
+
it 'should work' do
|
383
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
describe 'test attribute "publish_date"' do
|
388
|
+
it 'should work' do
|
389
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
describe 'test attribute "deleted_at"' do
|
394
|
+
it 'should work' do
|
395
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
describe 'test attribute "created_at"' do
|
400
|
+
it 'should work' do
|
401
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
describe 'test attribute "published"' do
|
406
|
+
it 'should work' do
|
407
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
describe 'test attribute "updated_at"' do
|
412
|
+
it 'should work' do
|
413
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
end
|