From eeef2c7350502bb1f77a723ff4677901d2a68926 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 4 Jun 2014 20:39:43 +0300 Subject: [PATCH] Fix tests Signed-off-by: Dmitriy Zaporozhets --- app/views/projects/milestones/_issue.html.haml | 2 +- features/steps/project/milestones.rb | 2 +- 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