Sha256: f54813d74f163063f2825d64dc8cd8853d1791ec3234dad3561ba89455d01460

Contents?: true

Size: 605 Bytes

Versions: 4

Compression:

Stored size: 605 Bytes

Contents

require 'test_helper'
require 'integration/authenticatable_test'

class AuthenticationOthersTest < Devise::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 & 2 rubygems

Version Path
devise-activegraph-3.0.0 test/overrides/authenticatable_test.rb
devise-activegraph-3.0.0.alpha.1 test/overrides/authenticatable_test.rb
devise-neo4j-2.1.1 test/overrides/authenticatable_test.rb
devise-neo4j-2.1.0 test/overrides/authenticatable_test.rb