Hi. I have a situation where the user is POSTing to the controller and the controller will 1) send an email using a view template 2) respond xml over HTTP response without using a view template The test contains a line with assert_template '' which verifies that no template is used for HTTP response as it simple responds the object serialized as XML. In 3.x this worked fine, but in 4.0.x the functionality (the controller behaviour) still seems to work fine, that is it 1) send an email using a view template 2) respond xml over HTTP response without using a view template but the test fails since the `assert_template ''` fails with a text like: expecting <""> but rendering with <["notifier/my_email_view"]> The notifier/my_email_view is the view I am using to send emails with. So the assert_template catches the view used to send email and I am trying to assert that no view is used to respond HTML. How can I achieve that? Any help is appreciated. Jarl -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOjsGA1DODfB5ekLOUPh1O3b0o%2B9hJOaV92ikTGyHyGkvrDapA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.