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: d84c34ad75
This commit is contained in:
Blake Erickson 2020-09-08 13:23:11 -06:00 committed by GitHub
parent d4a7058cb1
commit 4dfdfeaafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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