summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/projects/milestones/_issue.html.haml2
-rw-r--r--features/steps/project/milestones.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/milestones/_issue.html.haml b/app/views/projects/milestones/_issue.html.haml
index 5fba8cd5364..fe93164a704 100644
--- a/app/views/projects/milestones/_issue.html.haml
+++ b/app/views/projects/milestones/_issue.html.haml
@@ -1,4 +1,4 @@
-%li{ 'data-iid' => issue.iid, 'data-url' => project_issue_path(@project, issue) }
+%li{ class: 'issue-row', 'data-iid' => issue.iid, 'data-url' => project_issue_path(@project, issue) }
%span.str-truncated
= link_to [@project, issue] do
%span.cgray ##{issue.iid}
diff --git a/features/steps/project/milestones.rb b/features/steps/project/milestones.rb
index 9ce18fbaabd..5562b523d1b 100644
--- a/features/steps/project/milestones.rb
+++ b/features/steps/project/milestones.rb
@@ -54,6 +54,6 @@ class ProjectMilestones < Spinach::FeatureSteps
end
Then "I should see 3 issues" do
- page.should have_selector('#tab-issues li', count: 4)
+ page.should have_selector('#tab-issues li.issue-row', count: 4)
end
end