summaryrefslogtreecommitdiff
path: root/spec/controllers/abuse_reports_controller_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/abuse_reports_controller_spec.rb')
-rw-r--r--spec/controllers/abuse_reports_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/abuse_reports_controller_spec.rb b/spec/controllers/abuse_reports_controller_spec.rb
index da7577c371d..bab0d033056 100644
--- a/spec/controllers/abuse_reports_controller_spec.rb
+++ b/spec/controllers/abuse_reports_controller_spec.rb
@@ -59,7 +59,7 @@ RSpec.describe AbuseReportsController do
it 'redirects back to the reported user' do
post :create, params: { abuse_report: attrs }
- expect(response).to redirect_to user
+ expect(response).to redirect_to root_path
end
end