Commit eeef2c7350502bb1f77a723ff4677901d2a68926

Authored by Dmitriy Zaporozhets
1 parent f1ec62f4

Fix tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
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 2 %span.str-truncated
3 3 = link_to [@project, issue] do
4 4 %span.cgray ##{issue.iid}
... ...
features/steps/project/milestones.rb
... ... @@ -54,6 +54,6 @@ class ProjectMilestones &lt; Spinach::FeatureSteps
54 54 end
55 55  
56 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 58 end
59 59 end
... ...