mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Improve flaky time-sensitive specs (#9141)
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "rails_helper"
|
||||
|
||||
def list_files(base_dir, pattern = '*')
|
||||
Dir[File.join("#{base_dir}", pattern)]
|
||||
end
|
||||
|
Reference in New Issue
Block a user