From 3d96bfaa8aa24f6ecdfb6c2e4189b01bb0ce1b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20D=C3=A1vila?= Date: Mon, 22 Feb 2016 13:17:38 -0500 Subject: Don't repeat labels listed on Labels tab. --- features/steps/project/project_milestone.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'features/steps') diff --git a/features/steps/project/project_milestone.rb b/features/steps/project/project_milestone.rb index ec881c0d8fc..2508c09e36d 100644 --- a/features/steps/project/project_milestone.rb +++ b/features/steps/project/project_milestone.rb @@ -41,6 +41,12 @@ class Spinach::Features::ProjectMilestone < Spinach::FeatureSteps end end + step 'I should see the "bug" label listed only once' do + page.within('#tab-labels') do + expect(page).to have_content('bug', count: 1) + end + end + step 'I click link "v2.2"' do click_link "v2.2" end -- cgit v1.2.1