Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
72d8dc97
Commit
72d8dc97
authored
Jan 15, 2020
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify and shorten qa test
parent
350bb258
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
qa/qa/specs/features/browser_ui/2_plan/issue/close_issue_spec.rb
...pecs/features/browser_ui/2_plan/issue/close_issue_spec.rb
+2
-5
No files found.
qa/qa/specs/features/browser_ui/2_plan/issue/close_issue_spec.rb
View file @
72d8dc97
...
...
@@ -4,12 +4,9 @@ module QA
context
'Plan'
do
describe
'Close issue'
do
let
(
:issue
)
do
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
issue
.
title
=
'Issue to be closed via pushing a commit'
end
Resource
::
Issue
.
fabricate_via_api!
end
let
(
:project
)
{
issue
.
project
}
let
(
:issue_id
)
{
issue
.
api_response
[
:iid
]
}
before
do
...
...
@@ -39,7 +36,7 @@ module QA
push
.
commit_message
=
commit_message
push
.
new_branch
=
new_branch
push
.
file_content
=
commit_message
push
.
project
=
project
push
.
project
=
issue
.
project
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment