Fix tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-06-04 20:39:43 +03:00
parent f1ec62f465
commit eeef2c7350
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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