From f1f33f7e041c9e831e27ca5084ce1dd8a35a7c45 Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 6 Feb 2013 16:41:58 +0100 Subject: we don't add srp stuff to user class anymore warden srp strategy in lib has it all. --- users/test/unit/user_test.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'users') diff --git a/users/test/unit/user_test.rb b/users/test/unit/user_test.rb index 66563a3..10c8b46 100644 --- a/users/test/unit/user_test.rb +++ b/users/test/unit/user_test.rb @@ -40,13 +40,6 @@ class UserTest < ActiveSupport::TestCase assert_equal @user.password_salt.hex, @user.salt end - test "should include SRP" do - client_rnd = bigrand(32).hex - srp_session = @user.initialize_auth(client_rnd) - assert srp_session.is_a? SRP::Session - assert_equal client_rnd, srp_session.aa - end - test 'normal user is no admin' do assert !@user.is_admin? end -- cgit v1.2.3