Remove usafe of respond_to in ActionView tests