summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-07-21 14:36:22 +0200
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-07-21 14:43:27 +0200
commit0d3b8fad9742e6568458f2a8e4d66f0b36d731ec (patch)
tree20c847a609b0dc8ac41357e7a7683321718e41ef /features/project
parent8877f2e8c16ebb0c1251124659117c7d2c209399 (diff)
downloadgitlab-ce-0d3b8fad9742e6568458f2a8e4d66f0b36d731ec.tar.gz
Port spinach tests to rspec feature specszj-pipeline-badge-improvements
Logic is the same, just now ported, while this feature was being improved anyway in this branch. Resolves #20961
Diffstat (limited to 'features/project')
-rw-r--r--features/project/badges/build.feature27
1 files changed, 0 insertions, 27 deletions
diff --git a/features/project/badges/build.feature b/features/project/badges/build.feature
deleted file mode 100644
index bcf80ed620e..00000000000
--- a/features/project/badges/build.feature
+++ /dev/null
@@ -1,27 +0,0 @@
-Feature: Project Badges Build
- Background:
- Given I sign in as a user
- And I own a project
- And project has CI enabled
- And project has a recent build
-
- Scenario: I want to see a badge for successfully built project
- Given recent build is successful
- When I display builds badge for a master branch
- Then I should see a build success badge
-
- Scenario: I want to see a badge for project with failed builds
- Given recent build failed
- When I display builds badge for a master branch
- Then I should see a build failed badge
-
- Scenario: I want to see a badge for project with running builds
- Given recent build is successful
- And project has another build that is running
- When I display builds badge for a master branch
- Then I should see a build running badge
-
- Scenario: I want to see a fresh badge on each request
- Given recent build is successful
- When I display builds badge for a master branch
- Then I should see a badge that has not been cached