summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-11-10 18:58:35 +0000
committerFilipa Lacerda <filipa@gitlab.com>2016-11-16 11:58:13 +0000
commit30c6a7d3acf658253af158ff7069081cf4b109ad (patch)
tree5c73598837b5d3ed986835bdfe2b2c33330acb8f /app/views
parent8cebb71e0a615341b6d3b17214dade0c8c094287 (diff)
downloadgitlab-ce-30c6a7d3acf658253af158ff7069081cf4b109ad.tar.gz
Adds tests
Adds tests. Changes instance into a constructor Adds tests for environments component Adds tests assertations Adds external URL test Adds tests for Rollback component Adds tests for stop component Adds tests for actions component Fix environment item Init environment item tests
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/environments/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/environments/index.html.haml b/app/views/projects/environments/index.html.haml
index be4fc4dcb1b..c47f1a21efa 100644
--- a/app/views/projects/environments/index.html.haml
+++ b/app/views/projects/environments/index.html.haml
@@ -15,6 +15,6 @@
"can-read-environment" => can?(current_user, :read_environment, @project),
"can-create-environmnet" => can?(current_user, :create_environment, @project),
"project-environments-path" => project_environments_path(@project),
- "project-closed-environments-path" => project_environments_path(@project, scope: :stopped),
+ "project-stopped-environments-path" => project_environments_path(@project, scope: :stopped),
"new-environment-path" => new_namespace_project_environment_path(@project.namespace, @project),
"help-page-path" => help_page_path("ci/environments")}, class: container_class }