From f9be2c599ebfe5e4ce1b16a42132beffb70ed8a6 Mon Sep 17 00:00:00 2001 From: Miles Georgi Date: Tue, 9 Apr 2024 10:07:36 -0500 Subject: [PATCH] 1712675256 --- spec/foobara/remote_imports/import_type_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/foobara/remote_imports/import_type_spec.rb b/spec/foobara/remote_imports/import_type_spec.rb index 0eb0270..157b228 100644 --- a/spec/foobara/remote_imports/import_type_spec.rb +++ b/spec/foobara/remote_imports/import_type_spec.rb @@ -25,9 +25,11 @@ expect(outcome).to be_success }.to change { Object.const_defined?(:SomeOrg) } - expect(result).to eq([SomeOrg::Auth]) + expect(result.size).to eq(1) + type = result.first + expect(type).to be_a(Foobara::Types::Type) + expect(type).to eq(SomeOrg::Auth::User.entity_type) expect(SomeOrg).to be_foobara_organization expect(SomeOrg::Auth).to be_foobara_domain - binding.pry end end