From: Jozef Zigmund <jzigmund(a)redhat.com>
---
src/app/views/deployments/_header_show.haml | 2 +-
src/features/deployment.feature | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/app/views/deployments/_header_show.haml
b/src/app/views/deployments/_header_show.haml
index 8d03753..a1ea557 100644
--- a/src/app/views/deployments/_header_show.haml
+++ b/src/app/views/deployments/_header_show.haml
@@ -3,5 +3,5 @@
= [@deployment.name, "Deployment"].join(' ')
#obj_actions.button-container
.button-group
- = button_to 'Delete', deployment_path(@deployment), :method => :delete,
:confirm => t("deployments.confirm_delete"), :class => "button pill
danger", :id => 'delete_button'
+ = button_to 'Delete', deployment_path(@deployment), :method => :delete,
:confirm => t("deployments.confirm_delete"), :class => "button pill
danger", :id => 'delete'
.corner
diff --git a/src/features/deployment.feature b/src/features/deployment.feature
index e246c1a..aab0c5c 100644
--- a/src/features/deployment.feature
+++ b/src/features/deployment.feature
@@ -175,7 +175,7 @@ Feature: Manage Deployments
Given there is a deployment named "testdeployment" belonging to
"testdeployable" owned by "testuser"
And I am on the pools page
When I follow "testdeployment"
- And I press "delete_button"
+ And I press "delete"
Then I should see "The deployment testdeployment was scheduled for
deletion"
Scenario: Delete multiple deployments
@@ -195,7 +195,7 @@ Feature: Manage Deployments
And the instance "myinstance" is in the running state
And I am on the pools page
When I follow "mockdeployment"
- And I press "delete_button"
+ And I press "delete"
Then I should see "The deployment mockdeployment was scheduled for
deletion"
Scenario: Launch a deployment which is not launchable
--
1.7.6.2