git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Tree: 03c07302c3f65146490bf60e9a39bd16fe1dcf67

Files: 03c07302c3f65146490bf60e9a39bd16fe1dcf67 / spec / bcrypt / bcrypt_spec.rb

275 bytesRaw
1require File.join(File.dirname(__FILE__), "..", "spec_helper")
2
3context "BCrypt" do
4 specify "should calculate the optimal cost factor to fit in a specific time" do
5 first = BCrypt.calibrate(100)
6 second = BCrypt.calibrate(300)
7 second.should >(first + 1)
8 end
9end

Built with git-ssb-web