Commit c8c6e68d authored by Walmyr Lima's avatar Walmyr Lima

Remove dead code

And adjust the affected test method by simplifying it.

There is no need to overwrite to_s Ruby method to make the only
test that uses the has_issue? method work. I mean, it works fine
using issue.title.
parent e17b8656
......@@ -38,7 +38,7 @@ module QA
end
def has_issue?(issue)
has_element? :issue, issue_title: issue.to_s
has_element? :issue, issue_title: issue.title
end
end
end
......
......@@ -38,10 +38,6 @@ module QA
end
end
def to_s
@title
end
def api_get_path
"/projects/#{project.id}/issues/#{id}"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment