Sha256: 43bb09d3ea6b493c8ec3602400821b85108e4df56770bf479b4374c66a49e405
Contents?: true
Size: 571 Bytes
Versions: 4
Compression:
Stored size: 571 Bytes
Contents
require 'test_helper' class AuthenticationOthersTest < ActionDispatch::IntegrationTest undef :test_sign_in_stub_in_xml_format test 'sign in stub in xml format' do get new_user_session_path(:format => 'xml') assert_match '<?xml version="1.0" encoding="UTF-8"?>', response.body assert_match /<user>.*<\/user>/m, response.body assert_match '<email></email>', response.body # slight/lame format different in XML. #assert_match '<password nil="true"/></password>', response.body assert_match '<password nil="true"/>', response.body end end
Version data entries
4 entries across 4 versions & 1 rubygems