diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2019-05-22 09:05:04 +0300 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2019-05-22 09:05:04 +0300 |
commit | c342c07899ef6637eef7c1df2534f0c5ea67d7bd (patch) | |
tree | 02bb4da366341993965c875f77b141535520082b /spec | |
parent | a6e2ec0d954a14bd0ff4b1f37b3f6889eea28fde (diff) | |
parent | 27381e22a92453b23f1ed75406970b37d926f1ec (diff) |
Merge branch 'sh-fix-linter-registry-haml-try2' into 'master'
Fix uninitialized constant with HamlLint::LinterRegistry
Closes #62125
See merge request gitlab-org/gitlab-ce!28578
Diffstat (limited to 'spec')
-rw-r--r-- | spec/haml_lint/linter/no_plain_nodes_spec.rb (renamed from spec/lib/haml_lint/linter/no_plain_nodes_spec.rb) | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/haml_lint/linter/no_plain_nodes_spec.rb b/spec/haml_lint/linter/no_plain_nodes_spec.rb index 99cc9b9bc8d..08deb5a4e9e 100644 --- a/spec/lib/haml_lint/linter/no_plain_nodes_spec.rb +++ b/spec/haml_lint/linter/no_plain_nodes_spec.rb @@ -3,6 +3,7 @@ require 'spec_helper' require 'haml_lint' require 'haml_lint/spec' +require Rails.root.join('haml_lint/linter/no_plain_nodes') describe HamlLint::Linter::NoPlainNodes do include_context 'linter' |