summaryrefslogtreecommitdiff
path: root/users/test/unit
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-02-06 07:53:21 -0800
committerazul <azul@riseup.net>2013-02-06 07:53:21 -0800
commit40955e06c038ad3d84bfe88052c501fb7a6208d8 (patch)
treeb63e83731066d7da948509c391bd0a3f1cfc30f3 /users/test/unit
parent70e05a181ce3b79a6ea9b5c76eab5102e94860ca (diff)
parentf1f33f7e041c9e831e27ca5084ce1dd8a35a7c45 (diff)
Merge pull request #25 from leapcode/feature/keep-session-small
Ensure user data does not clutter session[:handshake]
Diffstat (limited to 'users/test/unit')
-rw-r--r--users/test/unit/user_test.rb7
1 files changed, 0 insertions, 7 deletions
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