summaryrefslogtreecommitdiff
path: root/spec/helpers/routing
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-23 15:11:19 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-23 15:11:19 +0000
commit0e6ce73070a9816db513ba360620699232c517d7 (patch)
tree1821d40de1b43624cde5d09e9874dc38978a65e1 /spec/helpers/routing
parentead6ab29b07201cd30488aa21b88d3e9c270046f (diff)
downloadgitlab-ce-0e6ce73070a9816db513ba360620699232c517d7.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers/routing')
-rw-r--r--spec/helpers/routing/pseudonymization_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/routing/pseudonymization_helper_spec.rb b/spec/helpers/routing/pseudonymization_helper_spec.rb
index 48963f28c76..d7905edb098 100644
--- a/spec/helpers/routing/pseudonymization_helper_spec.rb
+++ b/spec/helpers/routing/pseudonymization_helper_spec.rb
@@ -160,7 +160,7 @@ RSpec.describe ::Routing::PseudonymizationHelper do
end
context 'when author_username is present' do
- let(:masked_url) { "http://localhost/dashboard/issues?author_username=masked_author_username&scope=masked_scope&state=masked_state" }
+ let(:masked_url) { "http://localhost/dashboard/issues?author_username=masked_author_username&scope=all&state=opened" }
let(:request) do
double(:Request,
path_parameters: {
@@ -201,7 +201,7 @@ RSpec.describe ::Routing::PseudonymizationHelper do
end
context 'when query string has keys with the same names as path params' do
- let(:masked_url) { "http://localhost/dashboard/issues?action=masked_action&scope=masked_scope&state=masked_state" }
+ let(:masked_url) { "http://localhost/dashboard/issues?action=masked_action&scope=all&state=opened" }
let(:request) do
double(:Request,
path_parameters: {