test/overrides/data_mapper_test.rb in dm-devise-1.2.0 vs test/overrides/data_mapper_test.rb in dm-devise-1.3.0
- old
+ new
@@ -63,17 +63,5 @@
assert_equal email, user.email
user.save
assert_equal email.downcase, user.email
end
end
-
-class AuthenticationRedirectTest < ActionController::IntegrationTest
- undef test_sign_in_with_xml_format_returns_xml_response
-
- # It appears DM's to_xml does not add the xml header
- test 'sign in with xml format returns xml response' do
- create_user
- post user_session_path(:format => 'xml', :user => {:email => "user@test.com", :password => '123456'})
- assert_response :success
- assert_match /\A<user>\s*<id/, response.body
- end
-end