Commit 7c03d930 authored by Walmyr Lima's avatar Walmyr Lima

Shorten test code

And with that save two lines of code.
parent c618698c
...@@ -8,11 +8,9 @@ module QA ...@@ -8,11 +8,9 @@ module QA
before do before do
Flow::Login.sign_in Flow::Login.sign_in
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 filters comments and activities in an issue' do it 'user filters comments and activities in an issue' 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