summaryrefslogtreecommitdiff
path: root/features/steps/project/issues
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-27 00:27:51 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-27 00:27:51 -0700
commitc1c93f4f7a51760660ea2e1994071e63e6793808 (patch)
treec641a13a6f152cf5dc5422b2dd2b32da279e8c6f /features/steps/project/issues
parentd6c8eefb5d0298f0c733ac4880e1e64f2a37b24c (diff)
downloadgitlab-ce-c1c93f4f7a51760660ea2e1994071e63e6793808.tar.gz
Fix tests and unassigned filter for issues. Updated CHANGELOG
Diffstat (limited to 'features/steps/project/issues')
-rw-r--r--features/steps/project/issues/filter_labels.rb23
1 files changed, 2 insertions, 21 deletions
diff --git a/features/steps/project/issues/filter_labels.rb b/features/steps/project/issues/filter_labels.rb
index e62fa9c84c8..5740bd12837 100644
--- a/features/steps/project/issues/filter_labels.rb
+++ b/features/steps/project/issues/filter_labels.rb
@@ -2,24 +2,7 @@ class Spinach::Features::ProjectIssuesFilterLabels < Spinach::FeatureSteps
include SharedAuthentication
include SharedProject
include SharedPaths
-
- step 'I should see "bug" in labels filter' do
- within ".labels-filter" do
- page.should have_content "bug"
- end
- end
-
- step 'I should see "feature" in labels filter' do
- within ".labels-filter" do
- page.should have_content "feature"
- end
- end
-
- step 'I should see "enhancement" in labels filter' do
- within ".labels-filter" do
- page.should have_content "enhancement"
- end
- end
+ include Select2Helper
step 'I should see "Bugfix1" in issues list' do
within ".issues-list" do
@@ -46,9 +29,7 @@ class Spinach::Features::ProjectIssuesFilterLabels < Spinach::FeatureSteps
end
step 'I click link "bug"' do
- within ".labels-filter" do
- click_link "bug"
- end
+ select2('bug', from: "#label_name")
end
step 'I click link "feature"' do