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>2021-05-21 15:10:27 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-21 15:10:27 +0300
commit888264e6b732927699bc2c855a8184aa2a095fbb (patch)
tree8cc728e4b0d2efe86a3549b07574d0d2bbbf603f /spec/helpers/nav
parent34ad6d995bcab9f88a236bfed15aebdad76df960 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers/nav')
-rw-r--r--spec/helpers/nav/top_nav_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/nav/top_nav_helper_spec.rb b/spec/helpers/nav/top_nav_helper_spec.rb
index b73d77a4ea9..b9912171a73 100644
--- a/spec/helpers/nav/top_nav_helper_spec.rb
+++ b/spec/helpers/nav/top_nav_helper_spec.rb
@@ -424,7 +424,7 @@ RSpec.describe Nav::TopNavHelper do
title: 'Leave Admin Mode',
icon: 'lock-open',
href: '/admin/session/destroy',
- method: :post
+ data: { method: 'post' }
)
expect(subject[:secondary].last).to eq(expected_leave_admin_mode_item)
end