replace should_render_template in test/functional/auth_sources_controller_test.rb