summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-08-30 21:51:34 -0700
committerStan Hu <stanhu@gmail.com>2015-09-15 05:51:11 -0700
commitd3d03d1362e576d194782a655cdfe9bc6ed5c596 (patch)
tree0b720ea7ac0b5df7e968df83ce25d8e571617a56 /features/project
parent080a086d7644285af6cd4fb4b51c8f1c9b3aec95 (diff)
downloadgitlab-ce-d3d03d1362e576d194782a655cdfe9bc6ed5c596.tar.gz
Create a "destroyed Milestone" event and keep Milestone events around in the DB
for posterity. Also fix issue where destroying a Milestone would cause odd, transient messages like "created milestone" or "imported milestone". Add "in" preposition when creating and destroying milestones Closes #2382
Diffstat (limited to 'features/project')
-rw-r--r--features/project/issues/milestones.feature8
1 files changed, 6 insertions, 2 deletions
diff --git a/features/project/issues/milestones.feature b/features/project/issues/milestones.feature
index bfbaaec5a35..c1a20e9b488 100644
--- a/features/project/issues/milestones.feature
+++ b/features/project/issues/milestones.feature
@@ -12,13 +12,17 @@ Feature: Project Issues Milestones
Given I click link "v2.2"
Then I should see milestone "v2.2"
- Scenario: I create new milestone
+ @javascript
+ Scenario: I create and delete new milestone
Given I click link "New Milestone"
And I submit new milestone "v2.3"
Then I should see milestone "v2.3"
+ Given I click link to remove milestone
+ When I visit project "Shop" activity page
+ Then I should see deleted milestone activity
Scenario: I delete new milestone
- Given I click link to remove milestone "v2.2"
+ Given I click link to remove milestone
And I should see no milestones
@javascript