diff --git a/app/logical/weekly_maintenance.rb b/app/logical/weekly_maintenance.rb deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/unit/weekly_maintenance_test.rb b/test/unit/weekly_maintenance_test.rb deleted file mode 100644 index 278c7184e..000000000 --- a/test/unit/weekly_maintenance_test.rb +++ /dev/null @@ -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