diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-07 21:10:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-07 21:10:38 +0300 |
commit | dec7332357ae21be289ac26a4c440cb0b5fa1002 (patch) | |
tree | 3f10a979e0fb020e58c55591f8a296175b7ff0ee /spec/rubocop/cop/graphql | |
parent | 73d39cc50e91d5b57cfec15a6b738301a4df9fa0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/rubocop/cop/graphql')
-rw-r--r-- | spec/rubocop/cop/graphql/authorize_types_spec.rb | 2 | ||||
-rw-r--r-- | spec/rubocop/cop/graphql/descriptions_spec.rb | 2 | ||||
-rw-r--r-- | spec/rubocop/cop/graphql/gid_expected_type_spec.rb | 2 | ||||
-rw-r--r-- | spec/rubocop/cop/graphql/id_type_spec.rb | 2 | ||||
-rw-r--r-- | spec/rubocop/cop/graphql/json_type_spec.rb | 2 | ||||
-rw-r--r-- | spec/rubocop/cop/graphql/resolver_type_spec.rb | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/spec/rubocop/cop/graphql/authorize_types_spec.rb b/spec/rubocop/cop/graphql/authorize_types_spec.rb index df637a26ec5..a1b7a3f3a9b 100644 --- a/spec/rubocop/cop/graphql/authorize_types_spec.rb +++ b/spec/rubocop/cop/graphql/authorize_types_spec.rb @@ -5,7 +5,7 @@ require 'rubocop' require_relative '../../../../rubocop/cop/graphql/authorize_types' -RSpec.describe RuboCop::Cop::Graphql::AuthorizeTypes, type: :rubocop do +RSpec.describe RuboCop::Cop::Graphql::AuthorizeTypes do include CopHelper subject(:cop) { described_class.new } diff --git a/spec/rubocop/cop/graphql/descriptions_spec.rb b/spec/rubocop/cop/graphql/descriptions_spec.rb index f4693057bcb..b44205b0920 100644 --- a/spec/rubocop/cop/graphql/descriptions_spec.rb +++ b/spec/rubocop/cop/graphql/descriptions_spec.rb @@ -4,7 +4,7 @@ require 'fast_spec_helper' require 'rubocop' require_relative '../../../../rubocop/cop/graphql/descriptions' -RSpec.describe RuboCop::Cop::Graphql::Descriptions, type: :rubocop do +RSpec.describe RuboCop::Cop::Graphql::Descriptions do include CopHelper subject(:cop) { described_class.new } diff --git a/spec/rubocop/cop/graphql/gid_expected_type_spec.rb b/spec/rubocop/cop/graphql/gid_expected_type_spec.rb index a81af2aea5d..8fd7ae03748 100644 --- a/spec/rubocop/cop/graphql/gid_expected_type_spec.rb +++ b/spec/rubocop/cop/graphql/gid_expected_type_spec.rb @@ -5,7 +5,7 @@ require 'rubocop' require_relative '../../../../rubocop/cop/graphql/gid_expected_type' -RSpec.describe RuboCop::Cop::Graphql::GIDExpectedType, type: :rubocop do +RSpec.describe RuboCop::Cop::Graphql::GIDExpectedType do include CopHelper subject(:cop) { described_class.new } diff --git a/spec/rubocop/cop/graphql/id_type_spec.rb b/spec/rubocop/cop/graphql/id_type_spec.rb index 8767412e282..6135c9fef43 100644 --- a/spec/rubocop/cop/graphql/id_type_spec.rb +++ b/spec/rubocop/cop/graphql/id_type_spec.rb @@ -5,7 +5,7 @@ require 'rubocop' require_relative '../../../../rubocop/cop/graphql/id_type' -RSpec.describe RuboCop::Cop::Graphql::IDType, type: :rubocop do +RSpec.describe RuboCop::Cop::Graphql::IDType do include CopHelper subject(:cop) { described_class.new } diff --git a/spec/rubocop/cop/graphql/json_type_spec.rb b/spec/rubocop/cop/graphql/json_type_spec.rb index ac25e0feb69..6d9f86e44d2 100644 --- a/spec/rubocop/cop/graphql/json_type_spec.rb +++ b/spec/rubocop/cop/graphql/json_type_spec.rb @@ -4,7 +4,7 @@ require 'fast_spec_helper' require 'rubocop' require_relative '../../../../rubocop/cop/graphql/json_type' -RSpec.describe RuboCop::Cop::Graphql::JSONType, type: :rubocop do +RSpec.describe RuboCop::Cop::Graphql::JSONType do include CopHelper subject(:cop) { described_class.new } diff --git a/spec/rubocop/cop/graphql/resolver_type_spec.rb b/spec/rubocop/cop/graphql/resolver_type_spec.rb index 4807d66396a..25213e30528 100644 --- a/spec/rubocop/cop/graphql/resolver_type_spec.rb +++ b/spec/rubocop/cop/graphql/resolver_type_spec.rb @@ -5,7 +5,7 @@ require 'rubocop' require_relative '../../../../rubocop/cop/graphql/resolver_type' -RSpec.describe RuboCop::Cop::Graphql::ResolverType, type: :rubocop do +RSpec.describe RuboCop::Cop::Graphql::ResolverType do include CopHelper subject(:cop) { described_class.new } |