spec/features/crm/objects/gdpr_api_spec.rb in hubspot-api-client-11.2.0 vs spec/features/crm/objects/gdpr_api_spec.rb in hubspot-api-client-12.0.0
- old
+ new
@@ -1,8 +1,7 @@
require 'spec_helper'
-describe 'Hubspot::Crm::Objects::GDPRApi' do
- subject(:api) { Hubspot::Crm::Objects::GDPRApi.new }
+describe 'Hubspot::Crm::Objects::GdprApi' do
+ subject(:api) { Hubspot::Crm::Objects::GdprApi.new }
- it { is_expected.to respond_to(:purge_by_email) }
- it { is_expected.to respond_to(:purge_by_id) }
+ it { is_expected.to respond_to(:purge) }
end