summaryrefslogtreecommitdiff
path: root/spec/views/ci
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-03-22 15:22:50 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-03-22 15:22:50 +0100
commitb40d5d0fbb4d61ab8d5ee393eb91a395fb70b236 (patch)
treed67c997340c598f363a60a19da6fd3c22a0f03e4 /spec/views/ci
parentb9e329769e4bcc688133a763ea85318abb88aaaa (diff)
downloadgitlab-ce-b40d5d0fbb4d61ab8d5ee393eb91a395fb70b236.tar.gz
Fix static analysis and tests related to YAML processing
Diffstat (limited to 'spec/views/ci')
-rw-r--r--spec/views/ci/lints/show.html.haml_spec.rb1
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)