From b8c400b29dc82af1d78814310f267384a0c9fa11 Mon Sep 17 00:00:00 2001 From: Mike McCabe Date: Wed, 23 Oct 2013 18:27:35 -0400 Subject: [PATCH] commenting out this test until I can get it to go into failure not pending --- spec/vulnerabilities/password_hashing_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/vulnerabilities/password_hashing_spec.rb b/spec/vulnerabilities/password_hashing_spec.rb index 077a352..8f3bb02 100644 --- a/spec/vulnerabilities/password_hashing_spec.rb +++ b/spec/vulnerabilities/password_hashing_spec.rb @@ -14,6 +14,7 @@ feature 'improper password hashing' do pending(:if => verifying_fixed?) {Digest::MD5.hexdigest(new_pass).should == @normal_user.password} end +=begin scenario 'with md5 and salt' do pending unless @normal_user.has_attribute?('salt') new_pass = 'testpassword' @@ -22,4 +23,6 @@ feature 'improper password hashing' do @normal_user.save pending(:if => verifying_fixed?) {Digest::MD5.hexdigest(@normal_user.salt + new_pass).should == @normal_user.password} end +=end + end \ No newline at end of file