eliminate weeklymaintenance file

This commit is contained in:
Albert Yi 2018-10-23 17:50:28 -07:00
parent 38d94a7d37
commit 9899199f33
2 changed files with 0 additions and 13 deletions

View File

@ -1,13 +0,0 @@
require 'test_helper'
class WeeklyMaintenanceTest < ActiveSupport::TestCase
context "weekly maintenance" do
should "prune password resets" do
@user = FactoryBot.create(:user, email: "test@example.com")
@nonce = FactoryBot.create(:user_password_reset_nonce, email: "test@example.com", created_at: 1.month.ago)
WeeklyMaintenance.new.run
assert_equal(0, UserPasswordResetNonce.count)
end
end
end