commenting out this test until I can get it to go into failure not pending
This commit is contained in:
@@ -14,6 +14,7 @@ feature 'improper password hashing' do
|
|||||||
pending(:if => verifying_fixed?) {Digest::MD5.hexdigest(new_pass).should == @normal_user.password}
|
pending(:if => verifying_fixed?) {Digest::MD5.hexdigest(new_pass).should == @normal_user.password}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
=begin
|
||||||
scenario 'with md5 and salt' do
|
scenario 'with md5 and salt' do
|
||||||
pending unless @normal_user.has_attribute?('salt')
|
pending unless @normal_user.has_attribute?('salt')
|
||||||
new_pass = 'testpassword'
|
new_pass = 'testpassword'
|
||||||
@@ -22,4 +23,6 @@ feature 'improper password hashing' do
|
|||||||
@normal_user.save
|
@normal_user.save
|
||||||
pending(:if => verifying_fixed?) {Digest::MD5.hexdigest(@normal_user.salt + new_pass).should == @normal_user.password}
|
pending(:if => verifying_fixed?) {Digest::MD5.hexdigest(@normal_user.salt + new_pass).should == @normal_user.password}
|
||||||
end
|
end
|
||||||
|
=end
|
||||||
|
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user