summaryrefslogtreecommitdiff
path: root/rubocop
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-03-29 11:49:08 +0200
committerRémy Coutable <remy@rymai.me>2018-04-23 12:20:30 +0200
commitd2aee809ed76ff2e7f57c820410b51898b3a226a (patch)
treef57280904793622f356d6092fd94d72992d014f3 /rubocop
parent023d4f6f2f3d88d0966fe01e6ef921fd03a309fe (diff)
downloadgitlab-ce-d2aee809ed76ff2e7f57c820410b51898b3a226a.tar.gz
Introduce spec/fast_spec_helper.rb to run spec files that don't rely on the whole Rails env
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'rubocop')
-rw-r--r--rubocop/spec_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/spec_helpers.rb b/rubocop/spec_helpers.rb
index 6c0f0193b1a..9bf5f1e3b18 100644
--- a/rubocop/spec_helpers.rb
+++ b/rubocop/spec_helpers.rb
@@ -1,6 +1,6 @@
module RuboCop
module SpecHelpers
- SPEC_HELPERS = %w[spec_helper.rb rails_helper.rb].freeze
+ SPEC_HELPERS = %w[fast_spec_helper.rb rails_helper.rb spec_helper.rb].freeze
# Returns true if the given node originated from the spec directory.
def in_spec?(node)