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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-14 09:09:41 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-14 09:09:41 +0300
commit9a4a13601db5a66b7fe1d278f83be011a82d97cd (patch)
tree7ea8ad4fa15c75211c967ebbdf021c7affae7bee /spec/services/issues
parentca83ad2ce10368918fdb81f3df41255466eabe1e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/issues')
-rw-r--r--spec/services/issues/clone_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/issues/clone_service_spec.rb b/spec/services/issues/clone_service_spec.rb
index 12b8781031b..512a60b1382 100644
--- a/spec/services/issues/clone_service_spec.rb
+++ b/spec/services/issues/clone_service_spec.rb
@@ -74,8 +74,8 @@ RSpec.describe Issues::CloneService do
expect(new_issue.changed?).to be false
end
- it 'preserves author' do
- expect(new_issue.author).to eq author
+ it 'sets the current user as author' do
+ expect(new_issue.author).to eq user
end
it 'creates a new internal id for issue' do