diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 037fc062e..914cfa8bc 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -196,6 +196,7 @@ class UserTest < ActiveSupport::TestCase should "match the confirmation" do @user = FactoryGirl.create(:user) + @user.old_password = "password" @user.password = "zugzug5" @user.password_confirmation = "zugzug5" @user.save