Commit eeef2c7350502bb1f77a723ff4677901d2a68926
1 parent
f1ec62f4
Exists in
spb-stable
and in
2 other branches
Fix tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/projects/milestones/_issue.html.haml
1 | -%li{ 'data-iid' => issue.iid, 'data-url' => project_issue_path(@project, issue) } | 1 | +%li{ class: 'issue-row', 'data-iid' => issue.iid, 'data-url' => project_issue_path(@project, issue) } |
2 | %span.str-truncated | 2 | %span.str-truncated |
3 | = link_to [@project, issue] do | 3 | = link_to [@project, issue] do |
4 | %span.cgray ##{issue.iid} | 4 | %span.cgray ##{issue.iid} |
features/steps/project/milestones.rb
@@ -54,6 +54,6 @@ class ProjectMilestones < Spinach::FeatureSteps | @@ -54,6 +54,6 @@ class ProjectMilestones < Spinach::FeatureSteps | ||
54 | end | 54 | end |
55 | 55 | ||
56 | Then "I should see 3 issues" do | 56 | Then "I should see 3 issues" do |
57 | - page.should have_selector('#tab-issues li', count: 4) | 57 | + page.should have_selector('#tab-issues li.issue-row', count: 4) |
58 | end | 58 | end |
59 | end | 59 | end |