Didn't find anything so far how to test the redirect after the following in a controller spec. Therefore I'd like to leave it how it is if you are fine with that.