Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
21b37b64
Commit
21b37b64
authored
Jan 13, 2020
by
Walmyr Lima e Silva Filho
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'remove-dead-code' into 'master'
Simplify test code See merge request gitlab-org/gitlab!22805
parents
0f683516
48167067
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
qa/qa/page/project/issue/index.rb
qa/qa/page/project/issue/index.rb
+2
-1
qa/qa/resource/issue.rb
qa/qa/resource/issue.rb
+0
-4
No files found.
qa/qa/page/project/issue/index.rb
View file @
21b37b64
...
...
@@ -10,6 +10,7 @@ module QA
end
view
'app/views/projects/issues/_issue.html.haml'
do
element
:issue
element
:issue_link
,
'link_to issue.title'
# rubocop:disable QA/ElementWithPattern
end
...
...
@@ -38,7 +39,7 @@ module QA
end
def
has_issue?
(
issue
)
has_element?
:issue
,
issue_title:
issue
.
t
o_s
has_element?
:issue
,
issue_title:
issue
.
t
itle
end
end
end
...
...
qa/qa/resource/issue.rb
View file @
21b37b64
...
...
@@ -38,10 +38,6 @@ module QA
end
end
def
to_s
@title
end
def
api_get_path
"/projects/
#{
project
.
id
}
/issues/
#{
id
}
"
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment