Results 7 comments of xraymr

it does not work i think its a session problem ?

should i use include Warden::Test::Helpers or devise helper to login or sign_in ?

i can not find why database is locked ?

when i use warden login user i got a database locked ,because it will update user table when use sign

and here is the test log Connecting to database specified by database.yml (0.6ms) begin transaction (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" =...

thats ok ,thank u all the same