diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-14 09:09:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-14 09:09:41 +0300 |
commit | 9a4a13601db5a66b7fe1d278f83be011a82d97cd (patch) | |
tree | 7ea8ad4fa15c75211c967ebbdf021c7affae7bee /spec/services/issues | |
parent | ca83ad2ce10368918fdb81f3df41255466eabe1e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/issues')
-rw-r--r-- | spec/services/issues/clone_service_spec.rb | 4 |
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 |