diff options
Diffstat (limited to 'spec/models/organizations/organization_user_spec.rb')
-rw-r--r-- | spec/models/organizations/organization_user_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/models/organizations/organization_user_spec.rb b/spec/models/organizations/organization_user_spec.rb new file mode 100644 index 00000000000..392ffa1b5be --- /dev/null +++ b/spec/models/organizations/organization_user_spec.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe Organizations::OrganizationUser, type: :model, feature_category: :cell do + describe 'associations' do + it { is_expected.to belong_to(:organization).inverse_of(:organization_users).required } + it { is_expected.to belong_to(:user).inverse_of(:organization_users).required } + end +end |