diff options
Diffstat (limited to 'spec/graphql/types/projects/branch_rule_type_spec.rb')
-rw-r--r-- | spec/graphql/types/projects/branch_rule_type_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/graphql/types/projects/branch_rule_type_spec.rb b/spec/graphql/types/projects/branch_rule_type_spec.rb index 119ecf8a097..54ea4f6857b 100644 --- a/spec/graphql/types/projects/branch_rule_type_spec.rb +++ b/spec/graphql/types/projects/branch_rule_type_spec.rb @@ -12,12 +12,13 @@ RSpec.describe GitlabSchema.types['BranchRule'] do name isDefault branch_protection + matching_branches_count created_at updated_at ] end - specify { is_expected.to require_graphql_authorizations(:read_protected_branch) } + it { is_expected.to require_graphql_authorizations(:read_protected_branch) } - specify { is_expected.to have_graphql_fields(fields).at_least } + it { is_expected.to have_graphql_fields(fields).at_least } end |