Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-16 06:08:47 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-16 06:08:47 +0300
commit08ed6a867b690a04fe7a74c9ba697cf18f6107d7 (patch)
tree9561a9aeee9a57cec168b143a76e6f65fd92ae0b /qa
parentb0f27742e78a4aa4208c271536b6b9d84c53b49e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/specs/features/browser_ui/2_plan/issue/close_issue_spec.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/qa/qa/specs/features/browser_ui/2_plan/issue/close_issue_spec.rb b/qa/qa/specs/features/browser_ui/2_plan/issue/close_issue_spec.rb
index 664b62db888..2543c0091fb 100644
--- a/qa/qa/specs/features/browser_ui/2_plan/issue/close_issue_spec.rb
+++ b/qa/qa/specs/features/browser_ui/2_plan/issue/close_issue_spec.rb
@@ -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