Commit 2a40a4ff authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch 'simplify-and-shorten-test' into 'master'

Simplify and shorten test code

See merge request gitlab-org/gitlab!22913
parents 91b332f5 f6fcb200
......@@ -28,11 +28,9 @@ module QA
end
before do
issue = Resource::Issue.fabricate_via_api! do |issue|
Resource::Issue.fabricate_via_api! do |issue|
issue.title = issue_title
end
issue.visit!
end.visit!
end
it 'user comments on an issue with an attachment' do
......
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