I''m testing a controller by doing an ajax post to create an entry, then a normal get to see that entry show up on a page. After the get the @response.body is correct, but @response.headers still says the content type is "text/javascript", so assert_select doesn''t work. It seems like the second request, the get, would set the content type to "text/html" since it''s just a normal page. Am I off base here? Any help is appreciated. Thanks, Jason --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---