summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-20 22:48:10 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-20 22:48:10 +0200
commitc2f77ee00be5ff7195beef3ba7d74e796f262003 (patch)
tree9c9fdac8cc4631ed1dba196d5507a1b3691d1c2c /spec/features
parent22c8e21bf432a68f05bd81685d76acc0a3c9607f (diff)
downloadgitlab-ce-re-deploy-button.tar.gz
Use Re-deploy button on Deployments pagere-deploy-button
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/environments_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/environments_spec.rb b/spec/features/environments_spec.rb
index 9c018be14b7..a7d9f2a0c72 100644
--- a/spec/features/environments_spec.rb
+++ b/spec/features/environments_spec.rb
@@ -92,8 +92,8 @@ feature 'Environments', feature: true do
expect(page).to have_link(deployment.short_sha)
end
- scenario 'does not show a retry button for deployment without build' do
- expect(page).not_to have_link('Retry')
+ scenario 'does not show a re-deploy button for deployment without build' do
+ expect(page).not_to have_link('Re-deploy')
end
context 'with build' do
@@ -105,8 +105,8 @@ feature 'Environments', feature: true do
expect(page).to have_link("#{build.name} (##{build.id})")
end
- scenario 'does show retry button' do
- expect(page).to have_link('Retry')
+ scenario 'does show re-deploy button' do
+ expect(page).to have_link('Re-deploy')
end
context 'with manual action' do