spec/discovery/crm/pipelines/pipelines_api_spec.rb in hubspot-api-client-11.2.0 vs spec/discovery/crm/pipelines/pipelines_api_spec.rb in hubspot-api-client-12.0.0
- old
+ new
@@ -1,8 +1,8 @@
require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Pipelines::PipelinesApi' do
- subject(:api) { Hubspot::Client.new(api_key: 'test').crm.pipelines.pipelines_api }
+ subject(:api) { Hubspot::Client.new(access_token: 'test').crm.pipelines.pipelines_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_all) }
it { is_expected.to respond_to(:get_by_id) }