summaryrefslogtreecommitdiff
path: root/features/steps/project/labels.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/labels.rb')
-rw-r--r--features/steps/project/labels.rb18
1 files changed, 6 insertions, 12 deletions
diff --git a/features/steps/project/labels.rb b/features/steps/project/labels.rb
index 6dd4df8a1ad..62c1d74c718 100644
--- a/features/steps/project/labels.rb
+++ b/features/steps/project/labels.rb
@@ -3,18 +3,6 @@ class ProjectLabels < Spinach::FeatureSteps
include SharedProject
include SharedPaths
- step 'I should see label "bug"' do
- within ".manage-labels-list" do
- page.should have_content "bug"
- end
- end
-
- step 'I should see label "feature"' do
- within ".manage-labels-list" do
- page.should have_content "feature"
- end
- end
-
step 'I visit \'bug\' label edit page' do
visit edit_project_label_path(project, bug_label)
end
@@ -71,6 +59,12 @@ class ProjectLabels < Spinach::FeatureSteps
end
end
+ step 'I should see label \'feature\'' do
+ within '.manage-labels-list' do
+ page.should have_content 'feature'
+ end
+ end
+
step 'I should see label \'bug\'' do
within '.manage-labels-list' do
page.should have_content 'bug'