lib/rspec/models/unidom/visitor/identificating_spec.rb in unidom-visitor-1.13.1 vs lib/rspec/models/unidom/visitor/identificating_spec.rb in unidom-visitor-1.13.2
- old
+ new
@@ -15,8 +15,14 @@
identity_type: 'Unidom::Visitor::Identity::Mock'
}
it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes
+ user_attributes = {}
+ guest_attributes = { platform_code: 'SITE', platform_specific_identification: '123456789012' }
+
+ it_behaves_like 'belongs_to', model_attributes, :visitor, Unidom::Visitor::User, user_attributes
+ it_behaves_like 'belongs_to', model_attributes, :visitor, Unidom::Visitor::Guest, guest_attributes
+
end
end