Since upgrading to Ruby 1.9.2 (Rails 3.0.3), our RSpce (2.7.0) tests using FactoryGirl (2.3.2) fail due to BCrypt::Errors::InvalidSalt upon creating of user fixture. Here is what we use for creating fixtures:
Factory.define :user, :class => User do |u|
u.api_key '123456'
u.password 'password'
end
It used to work fine, but now tests that have the line user = Factory.create(:user) fail randomly with different tests failing in each run.
Any ideas?