diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-03-22 15:22:50 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-03-22 15:22:50 +0100 |
commit | b40d5d0fbb4d61ab8d5ee393eb91a395fb70b236 (patch) | |
tree | d67c997340c598f363a60a19da6fd3c22a0f03e4 /spec/views | |
parent | b9e329769e4bcc688133a763ea85318abb88aaaa (diff) | |
download | gitlab-ce-b40d5d0fbb4d61ab8d5ee393eb91a395fb70b236.tar.gz |
Fix static analysis and tests related to YAML processing
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/ci/lints/show.html.haml_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/ci/lints/show.html.haml_spec.rb b/spec/views/ci/lints/show.html.haml_spec.rb index 7724d54c569..ded320793ea 100644 --- a/spec/views/ci/lints/show.html.haml_spec.rb +++ b/spec/views/ci/lints/show.html.haml_spec.rb @@ -5,6 +5,7 @@ describe 'ci/lints/show' do describe 'XSS protection' do let(:config_processor) { Gitlab::Ci::YamlProcessor.new(YAML.dump(content)) } + before do assign(:status, true) assign(:builds, config_processor.builds) |