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:
Diffstat (limited to 'spec/routing/routing_spec.rb')
-rw-r--r--spec/routing/routing_spec.rb21
1 files changed, 16 insertions, 5 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index 7c4f040266e..8b54bc443da 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -122,7 +122,6 @@ end
# profile_account GET /-/profile/account(.:format) profile#account
# profile_history GET /-/profile/history(.:format) profile#history
-# profile_password PUT /-/profile/password(.:format) profile#password_update
# profile_token GET /-/profile/token(.:format) profile#token
# profile GET /-/profile(.:format) profile#show
# profile_update PUT /-/profile/update(.:format) profile#update
@@ -131,10 +130,6 @@ RSpec.describe ProfilesController, "routing" do
expect(get("/-/profile/account")).to route_to('profiles/accounts#show')
end
- it "to #audit_log" do
- expect(get("/-/profile/audit_log")).to route_to('profiles#audit_log')
- end
-
it "to #reset_feed_token" do
expect(put("/-/profile/reset_feed_token")).to route_to('profiles#reset_feed_token')
end
@@ -397,3 +392,19 @@ RSpec.describe JwksController, "routing" do
expect(get('/-/jwks')).to route_to('jwks#index')
end
end
+
+# user_settings_authentication_log GET /-/user_settings/authentication_log(.:format) user_settings/user_settings#authentication_log
+
+RSpec.describe UserSettings::UserSettingsController, 'routing', feature_category: :system_access do
+ it 'to #authentication_log' do
+ expect(get('/-/user_settings/authentication_log')).to route_to('user_settings/user_settings#authentication_log')
+ end
+end
+
+# user_settings_active_sessions_log GET /-/user_settings_active_sessions_log(.:format) user_settings/active_sessions#index#
+
+RSpec.describe UserSettings::ActiveSessionsController, 'routing', feature_category: :system_access do
+ it 'to #index' do
+ expect(get('/-/user_settings/active_sessions')).to route_to('user_settings/active_sessions#index')
+ end
+end