diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-06 14:46:13 -0600 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-02-06 16:21:24 -0600 |
commit | 1e9280a9d25b97b0632c00bda68e7032c13037c5 (patch) | |
tree | f7d40e400b2a2c82558697668f6444e6d3fc4d98 /spec/controllers | |
parent | b5df3bffd78e4c4c4451bc6ac9b5c15a258e47b1 (diff) | |
download | gitlab-ce-1e9280a9d25b97b0632c00bda68e7032c13037c5.tar.gz |
Fixed variables_controller_spec.rb test26165-combine-runners-and-variables-and-triggers-and-ci-cd-pipelines-settings-pages
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/variables_controller_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/controllers/projects/variables_controller_spec.rb b/spec/controllers/projects/variables_controller_spec.rb index 228cb513554..9fa358f7d62 100644 --- a/spec/controllers/projects/variables_controller_spec.rb +++ b/spec/controllers/projects/variables_controller_spec.rb @@ -25,8 +25,7 @@ describe Projects::VariablesController do post :create, namespace_id: project.namespace.to_param, project_id: project.to_param, variable: { key: "..one", value: "two" } - expect(flash[:alert]).to include 'Key can contain only letters, digits and \'_\'.' - expect(response).to redirect_to(namespace_project_settings_ci_cd_path(project.namespace, project)) + expect(response).to render_template("projects/variables/show") end end end |