Commit c2fc5013 authored by Walmyr Lima's avatar Walmyr Lima

Shorten test code

parent 350bb258
...@@ -27,11 +27,10 @@ module QA ...@@ -27,11 +27,10 @@ module QA
Flow::Project.add_member(project: project, username: user.username) Flow::Project.add_member(project: project, username: user.username)
issue = Resource::Issue.fabricate_via_api! do |issue| Resource::Issue.fabricate_via_api! do |issue|
issue.title = 'issue title' issue.title = 'issue title'
issue.project = project issue.project = project
end end.visit!
issue.visit!
Page::Project::Issue::Show.perform do |show| Page::Project::Issue::Show.perform do |show|
show.select_all_activities_filter show.select_all_activities_filter
......
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