blob: 8524179374334dc15ab84ea4243c044877718d16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module IssueHelpers
def visit_issues(project, opts = {})
visit namespace_project_issues_path project.namespace, project, opts
end
def first_issue
page.all('ul.issues-list > li').first.text
end
def last_issue
page.all('ul.issues-list > li').last.text
end
end
|