|
| 1 | +require 'spec_helper' |
| 2 | + |
| 3 | +describe 'Hubspot::Discovery::Cms::Pages::LandingPagesApi' do |
| 4 | + subject(:pages_api) { Hubspot::Client.new(access_token: 'test').cms.pages.landing_pages_api } |
| 5 | + |
| 6 | + it { is_expected.to respond_to(:archive) } |
| 7 | + it { is_expected.to respond_to(:archive_batch) } |
| 8 | + it { is_expected.to respond_to(:archive_folder) } |
| 9 | + it { is_expected.to respond_to(:archive_folders) } |
| 10 | + it { is_expected.to respond_to(:attach_to_lang_group) } |
| 11 | + it { is_expected.to respond_to(:clone) } |
| 12 | + it { is_expected.to respond_to(:create) } |
| 13 | + it { is_expected.to respond_to(:create_ab_test_variation) } |
| 14 | + it { is_expected.to respond_to(:create_batch) } |
| 15 | + it { is_expected.to respond_to(:create_folder) } |
| 16 | + it { is_expected.to respond_to(:create_folders) } |
| 17 | + it { is_expected.to respond_to(:create_lang_variation) } |
| 18 | + it { is_expected.to respond_to(:detach_from_lang_group) } |
| 19 | + it { is_expected.to respond_to(:end_active_ab_test) } |
| 20 | + it { is_expected.to respond_to(:get_by_id) } |
| 21 | + it { is_expected.to respond_to(:get_draft_by_id) } |
| 22 | + it { is_expected.to respond_to(:get_folder_by_id) } |
| 23 | + it { is_expected.to respond_to(:get_folder_previous_version) } |
| 24 | + it { is_expected.to respond_to(:get_folder_previous_versions) } |
| 25 | + it { is_expected.to respond_to(:get_folders_page) } |
| 26 | + it { is_expected.to respond_to(:get_page) } |
| 27 | + it { is_expected.to respond_to(:get_previous_version) } |
| 28 | + it { is_expected.to respond_to(:get_previous_versions) } |
| 29 | + it { is_expected.to respond_to(:push_live) } |
| 30 | + it { is_expected.to respond_to(:read_batch) } |
| 31 | + it { is_expected.to respond_to(:read_folders) } |
| 32 | + it { is_expected.to respond_to(:rerun_previous_ab_test) } |
| 33 | + it { is_expected.to respond_to(:reset_draft) } |
| 34 | + it { is_expected.to respond_to(:restore_folder_previous_version) } |
| 35 | + it { is_expected.to respond_to(:restore_previous_version) } |
| 36 | + it { is_expected.to respond_to(:restore_previous_version_to_draft) } |
| 37 | + it { is_expected.to respond_to(:schedule) } |
| 38 | + it { is_expected.to respond_to(:set_lang_primary) } |
| 39 | + it { is_expected.to respond_to(:update) } |
| 40 | + it { is_expected.to respond_to(:update_batch) } |
| 41 | + it { is_expected.to respond_to(:update_draft) } |
| 42 | + it { is_expected.to respond_to(:update_folder) } |
| 43 | + it { is_expected.to respond_to(:update_folders) } |
| 44 | + it { is_expected.to respond_to(:update_langs) } |
| 45 | +end |
0 commit comments