summaryrefslogtreecommitdiff
path: root/features/steps/project/issues
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-07-14 15:20:38 -0700
committerStan Hu <stanhu@gmail.com>2015-07-17 06:54:32 -0700
commitdf2bb60f90315a77718b9122e9d06f5655750640 (patch)
treea076cbfdb4f7583cc955af5dbba97a4ecd2205b3 /features/steps/project/issues
parentc4c41007adf5e3950f8991d4503b699d1e078705 (diff)
downloadgitlab-ce-df2bb60f90315a77718b9122e9d06f5655750640.tar.gz
Add support for destroying project milestones
Closes https://github.com/gitlabhq/gitlabhq/issues/1504
Diffstat (limited to 'features/steps/project/issues')
-rw-r--r--features/steps/project/issues/milestones.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/features/steps/project/issues/milestones.rb b/features/steps/project/issues/milestones.rb
index 708c5243947..61e62c2adbd 100644
--- a/features/steps/project/issues/milestones.rb
+++ b/features/steps/project/issues/milestones.rb
@@ -56,4 +56,12 @@ class Spinach::Features::ProjectIssuesMilestones < Spinach::FeatureSteps
step 'I should see 3 issues' do
expect(page).to have_selector('#tab-issues li.issue-row', count: 4)
end
+
+ step 'I click link to remove milestone "v2.2"' do
+ click_link 'Remove'
+ end
+
+ step 'I should see no milestones' do
+ expect(page).to have_content('No milestones to show')
+ end
end