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>2023-07-19 17:16:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-19 17:16:28 +0300
commite4384360a16dd9a19d4d2d25d0ef1f2b862ed2a6 (patch)
tree2fcdfa7dcdb9db8f5208b2562f4b4e803d671243 /spec/routing
parentffda4e7bcac36987f936b4ba515995a6698698f0 (diff)
Add latest changes from gitlab-org/gitlab@16-2-stable-eev16.2.0-rc42
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/organizations/organizations_controller_routing_spec.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/spec/routing/organizations/organizations_controller_routing_spec.rb b/spec/routing/organizations/organizations_controller_routing_spec.rb
index 5b6124300ba..2b43f6d3afa 100644
--- a/spec/routing/organizations/organizations_controller_routing_spec.rb
+++ b/spec/routing/organizations/organizations_controller_routing_spec.rb
@@ -5,8 +5,13 @@ require 'spec_helper'
RSpec.describe Organizations::OrganizationsController, :routing, feature_category: :cell do
let_it_be(:organization) { build(:organization) }
- it 'routes to #directory' do
- expect(get("/-/organizations/#{organization.path}/directory"))
- .to route_to('organizations/organizations#directory', organization_path: organization.path)
+ it 'routes to #show' do
+ expect(get("/-/organizations/#{organization.path}"))
+ .to route_to('organizations/organizations#show', organization_path: organization.path)
+ end
+
+ it 'routes to #groups_and_projects' do
+ expect(get("/-/organizations/#{organization.path}/groups_and_projects"))
+ .to route_to('organizations/organizations#groups_and_projects', organization_path: organization.path)
end
end