Commit f6fcb200 authored by Walmyr Lima's avatar Walmyr Lima

Simplify and shorten test code

parent c618698c
...@@ -28,11 +28,9 @@ module QA ...@@ -28,11 +28,9 @@ module QA
end end
before do before do
issue = Resource::Issue.fabricate_via_api! do |issue| Resource::Issue.fabricate_via_api! do |issue|
issue.title = issue_title issue.title = issue_title
end end.visit!
issue.visit!
end end
it 'user comments on an issue with an attachment' do 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