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-06-09 21:11:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-09 21:11:25 +0300
commitd40d684afaec767bb05efdbeaa4ce3620cd337bb (patch)
treea6c61c8bc90f05a2ddf6817863d364239a5357ce /spec/routing
parentc0f42c6d662b776777afbf79ba72d8e833b8de48 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/routing_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index 4d95d5631e4..e7ea5b79897 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -134,12 +134,10 @@ RSpec.describe ProfilesController, "routing" do
it "to #account" do
expect(get("/-/profile/account")).to route_to('profiles/accounts#show')
end
- it_behaves_like 'redirecting a legacy path', '/profile/account', '/-/profile/account'
it "to #audit_log" do
expect(get("/-/profile/audit_log")).to route_to('profiles#audit_log')
end
- it_behaves_like 'redirecting a legacy path', '/profile/audit_log', '/-/profile/audit_log'
it "to #reset_feed_token" do
expect(put("/-/profile/reset_feed_token")).to route_to('profiles#reset_feed_token')
@@ -148,7 +146,6 @@ RSpec.describe ProfilesController, "routing" do
it "to #show" do
expect(get("/-/profile")).to route_to('profiles#show')
end
- it_behaves_like 'redirecting a legacy path', '/profile', '/-/profile'
end
# profile_preferences GET /-/profile/preferences(.:format) profiles/preferences#show
@@ -158,7 +155,6 @@ RSpec.describe Profiles::PreferencesController, 'routing' do
it 'to #show' do
expect(get('/-/profile/preferences')).to route_to('profiles/preferences#show')
end
- it_behaves_like 'redirecting a legacy path', '/profile/preferences', '/-/profile/preferences'
it 'to #update' do
expect(put('/-/profile/preferences')).to route_to('profiles/preferences#update')
@@ -176,7 +172,6 @@ RSpec.describe Profiles::KeysController, "routing" do
it "to #index" do
expect(get("/-/profile/keys")).to route_to('profiles/keys#index')
end
- it_behaves_like 'redirecting a legacy path', '/profile/keys', '/-/profile/keys'
it "to #create" do
expect(post("/-/profile/keys")).to route_to('profiles/keys#create')
@@ -185,7 +180,6 @@ RSpec.describe Profiles::KeysController, "routing" do
it "to #show" do
expect(get("/-/profile/keys/1")).to route_to('profiles/keys#show', id: '1')
end
- it_behaves_like 'redirecting a legacy path', '/profile/keys/1', '/-/profile/keys/1'
it "to #destroy" do
expect(delete("/-/profile/keys/1")).to route_to('profiles/keys#destroy', id: '1')
@@ -200,7 +194,6 @@ RSpec.describe Profiles::GpgKeysController, "routing" do
it "to #index" do
expect(get("/-/profile/gpg_keys")).to route_to('profiles/gpg_keys#index')
end
- it_behaves_like 'redirecting a legacy path', '/profile/gpg_keys', '/-/profile/gpg_keys'
it "to #create" do
expect(post("/-/profile/gpg_keys")).to route_to('profiles/gpg_keys#create')
@@ -218,7 +211,6 @@ RSpec.describe Profiles::EmailsController, "routing" do
it "to #index" do
expect(get("/-/profile/emails")).to route_to('profiles/emails#index')
end
- it_behaves_like 'redirecting a legacy path', '/profile/emails', '/-/profile/emails'
it "to #create" do
expect(post("/-/profile/emails")).to route_to('profiles/emails#create')