diff options
author | Rémy Coutable <remy@rymai.me> | 2018-03-29 11:49:08 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-04-23 12:20:30 +0200 |
commit | d2aee809ed76ff2e7f57c820410b51898b3a226a (patch) | |
tree | f57280904793622f356d6092fd94d72992d014f3 /rubocop | |
parent | 023d4f6f2f3d88d0966fe01e6ef921fd03a309fe (diff) | |
download | gitlab-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.rb | 2 |
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) |