about summary refs log tree commit diff
path: root/spec/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-06-07 03:39:24 +0200
committerGitHub <noreply@github.com>2019-06-07 03:39:24 +0200
commit1db4117030ac69b1083ddfe7390dedb02cede421 (patch)
treea5d97d8f2046ab8455f108770570c3b3a5ba8bac /spec/controllers
parenta60364ca7d26c82c9353980d0966d37e9aa66014 (diff)
Change preferences page into appearance, notifications, and other (#10977)
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/settings/preferences/notifications_controller_spec.rb (renamed from spec/controllers/settings/notifications_controller_spec.rb)4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/settings/notifications_controller_spec.rb b/spec/controllers/settings/preferences/notifications_controller_spec.rb
index 981ef674e..02180b383 100644
--- a/spec/controllers/settings/notifications_controller_spec.rb
+++ b/spec/controllers/settings/preferences/notifications_controller_spec.rb
@@ -1,6 +1,6 @@
 require 'rails_helper'
 
-describe Settings::NotificationsController do
+describe Settings::Preferences::NotificationsController do
   render_views
 
   let(:user) { Fabricate(:user) }
@@ -28,7 +28,7 @@ describe Settings::NotificationsController do
         }
       }
 
-      expect(response).to redirect_to(settings_notifications_path)
+      expect(response).to redirect_to(settings_preferences_notifications_path)
       user.reload
       expect(user.settings['notification_emails']['follow']).to be true
       expect(user.settings['interactions']['must_be_follower']).to be false