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? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.