Sha256: 1c478e296ed9b2efa9ca457d0632ef0997f5b2dfa3ddf8f563cba90db415c26c

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

require 'spec_helper'

describe 'Hubspot::Cms::Blogs::BlogPosts::BlogPostApi' do
  subject(:api) { Hubspot::Cms::Blogs::BlogPosts::BlogPostApi.new }
  
  it { is_expected.to respond_to(:archive) }
  it { is_expected.to respond_to(:archive_batch) }
  it { is_expected.to respond_to(:clone) }
  it { is_expected.to respond_to(:create) }
  it { is_expected.to respond_to(:create_batch) }
  it { is_expected.to respond_to(:get_by_id) }
  it { is_expected.to respond_to(:get_draft_by_id) }
  it { is_expected.to respond_to(:get_page) }
  it { is_expected.to respond_to(:get_previous_version) }
  it { is_expected.to respond_to(:get_previous_versions) }
  it { is_expected.to respond_to(:push_live) }
  it { is_expected.to respond_to(:read_batch) }
  it { is_expected.to respond_to(:reset_draft) }
  it { is_expected.to respond_to(:restore_previous_version) }
  it { is_expected.to respond_to(:restore_previous_version_to_draft) }
  it { is_expected.to respond_to(:schedule) }
  it { is_expected.to respond_to(:update) }
  it { is_expected.to respond_to(:update_batch) }
  it { is_expected.to respond_to(:update_draft) }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hubspot-api-client-11.2.0 spec/features/cms/blogs/blog-posts/blog_post_api_spec.rb
hubspot-api-client-11.1.1 spec/features/cms/blogs/blog-posts/blog_post_api_spec.rb
hubspot-api-client-11.1.0 spec/features/cms/blogs/blog-posts/blog_post_api_spec.rb