spec/owners/models/public_owner_spec.rb in hubspot-api-client-1.0.1 vs spec/owners/models/public_owner_spec.rb in hubspot-api-client-2.0.0
- old
+ new
@@ -12,25 +12,25 @@
require 'spec_helper'
require 'json'
require 'date'
-# Unit tests for Hubspot::Client::Crm::Owners::Models::PublicOwner
+# Unit tests for Hubspot::Crm::Owners::PublicOwner
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'PublicOwner' do
before do
# run before each test
- @instance = Hubspot::Client::Crm::Owners::Models::PublicOwner.new
+ @instance = Hubspot::Crm::Owners::PublicOwner.new
end
after do
# run after each test
end
describe 'test an instance of PublicOwner' do
it 'should create an instance of PublicOwner' do
- expect(@instance).to be_instance_of(Hubspot::Client::Crm::Owners::Models::PublicOwner)
+ expect(@instance).to be_instance_of(Hubspot::Crm::Owners::PublicOwner)
end
end
describe 'test attribute "id"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers