summaryrefslogtreecommitdiff
path: root/spec/services/quick_actions/interpret_service_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-21 03:12:30 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-21 03:12:30 +0000
commitbfb5557b15d66fc1c22aeec5c345241946b103a3 (patch)
tree66ec8a0d6b648f52e5c63caa9bc5c8106de019d2 /spec/services/quick_actions/interpret_service_spec.rb
parent5e396cd53ef1686fbc02b446a6a44d8a69ce8755 (diff)
downloadgitlab-ce-bfb5557b15d66fc1c22aeec5c345241946b103a3.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/quick_actions/interpret_service_spec.rb')
-rw-r--r--spec/services/quick_actions/interpret_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/quick_actions/interpret_service_spec.rb b/spec/services/quick_actions/interpret_service_spec.rb
index 257e7eb972b..b8abfd1e6ba 100644
--- a/spec/services/quick_actions/interpret_service_spec.rb
+++ b/spec/services/quick_actions/interpret_service_spec.rb
@@ -746,10 +746,10 @@ RSpec.describe QuickActions::InterpretService, feature_category: :team_planning
it 'assigns to users with escaped underscores' do
user = create(:user)
base = user.username
- user.update!(username: "#{base}_")
+ user.update!(username: "#{base}_new")
issuable.project.add_developer(user)
- cmd = "/assign @#{base}\\_"
+ cmd = "/assign @#{base}\\_new"
_, updates, _ = service.execute(cmd, issuable)