diff options
Diffstat (limited to 'spec/graphql/types/customer_relations')
-rw-r--r-- | spec/graphql/types/customer_relations/contact_type_spec.rb | 15 | ||||
-rw-r--r-- | spec/graphql/types/customer_relations/organization_type_spec.rb | 2 |
2 files changed, 15 insertions, 2 deletions
diff --git a/spec/graphql/types/customer_relations/contact_type_spec.rb b/spec/graphql/types/customer_relations/contact_type_spec.rb index bb447f405b6..965cc4b60e6 100644 --- a/spec/graphql/types/customer_relations/contact_type_spec.rb +++ b/spec/graphql/types/customer_relations/contact_type_spec.rb @@ -3,7 +3,20 @@ require 'spec_helper' RSpec.describe GitlabSchema.types['CustomerRelationsContact'] do - let(:fields) { %i[id organization first_name last_name phone email description created_at updated_at] } + let(:fields) do + %w[ + id + organization + first_name + last_name + phone + email + description + active + created_at + updated_at + ] + end it { expect(described_class.graphql_name).to eq('CustomerRelationsContact') } it { expect(described_class).to have_graphql_fields(fields) } diff --git a/spec/graphql/types/customer_relations/organization_type_spec.rb b/spec/graphql/types/customer_relations/organization_type_spec.rb index 93844df1239..ae1f41ca098 100644 --- a/spec/graphql/types/customer_relations/organization_type_spec.rb +++ b/spec/graphql/types/customer_relations/organization_type_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' RSpec.describe GitlabSchema.types['CustomerRelationsOrganization'] do - let(:fields) { %i[id name default_rate description created_at updated_at] } + let(:fields) { %i[id name default_rate description active created_at updated_at] } it { expect(described_class.graphql_name).to eq('CustomerRelationsOrganization') } it { expect(described_class).to have_graphql_fields(fields) } |