Sha256: 57f7c8b0e4b67403151826076968f95ce14108ee49a00eb46f69c4e84dc86dee

Contents?: true

Size: 1.13 KB

Versions: 36

Compression:

Stored size: 1.13 KB

Contents

require 'spec_helper'

describe 'Hubspot::Discovery::Cms::Blogs::BlogPosts::BlogPostsApi' do
  subject(:api) { Hubspot::Client.new(access_token: 'test').cms.blogs.blog_posts.blog_posts_api }
  
  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

36 entries across 36 versions & 1 rubygems

Version Path
hubspot-api-client-19.0.0 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-18.0.0 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-17.2.0 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-17.1.1 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-17.1.0 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-17.0.0 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-17.0.0.pre.beta.4 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-17.0.0.pre.beta.3 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-17.0.0.pre.beta.2 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-17.0.0.pre.beta.1 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.4.0 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.3.0 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.2.1 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.2.0 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.1.1 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.1.0 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.0.4 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.0.3 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.0.2 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb
hubspot-api-client-16.0.1 spec/discovery/cms/blogs/blog-posts/blog_posts_api_spec.rb