DEV: Resolve this child category pending request spec (#10604)

DEV: Resolve this child category pending request spec (#10604)

There is a request spec that was ignored with the xit flag almost a year ago and every time you generate the api docs with

rake rswag:specs:swaggerize

it shows the output of this pending test and I guess I finally got sick of looking at it, so here is a fix for it.

Original Commit: d84c34ad7523c6f894315dcbfc0b215dff3b3707

diff --git a/spec/requests/list_controller_spec.rb b/spec/requests/list_controller_spec.rb
index 328677f..c0299f2 100644
--- a/spec/requests/list_controller_spec.rb
+++ b/spec/requests/list_controller_spec.rb
@@ -408,9 +408,9 @@ RSpec.describe ListController do
         end
 
         context "with invalid slug" do
-          xit "redirects" do
+          it "redirects" do
             get "/c/random_slug/another_random_slug/#{child_category.id}/l/latest"
-            expect(response).to redirect_to(child_category.url)
+            expect(response).to redirect_to("#{child_category.url}/l/latest")
           end
         end
       end

GitHub sha: 4dfdfeaa

This commit appears in #10604 which was approved by danielwaterworth. It was merged by blake.