How to test response from RJS

From a controller rendering and RJS template I get (by printing
@response.body):

window.location.href = "/management/53/questions?
participant_id=41&question_status=MODERATOR_INBOX";

I ma trying to test that response with:

assert_select 'window.location.href', "management"

I does not work. Do you know how I can test if there is that redirect
in an RJS response?