Commit 812e12f884941325badb2553b22b5914d4b4bc91
Fix Ruby 1.9 compatibility.
'.' is no longer in the default $LOAD_PATH, so we need to expand file paths when requiring local source files. Signed-off-by: Coda Hale <coda.hale@gmail.com>Hongli Lai (Phusion) authored on 8/5/2009, 6:22:18 AM
Coda Hale committed on 8/12/2009, 9:52:21 PM
Parent: 79bcfaef644ee9b21cab3e12e32312f427861a90
Files changed
spec/bcrypt/engine_spec.rb | changed |
spec/bcrypt/password_spec.rb | changed |
spec/spec_helper.rb | changed |
spec/bcrypt/engine_spec.rb | ||
---|---|---|
@@ -1,5 +1,5 @@ | ||
1 | -require File.join(File.dirname(__FILE__), "..", "spec_helper") | |
1 | +require File.expand_path(File.join(File.dirname(__FILE__), "..", "spec_helper")) | |
2 | 2 | |
3 | 3 | context "The BCrypt engine" do |
4 | 4 | specify "should calculate the optimal cost factor to fit in a specific time" do |
5 | 5 | first = BCrypt::Engine.calibrate(100) |
Built with git-ssb-web