From a controller rendering and RJS template I get (by printing
window.location.href = “/management/53/questions?
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?