add file to easily require all the fixtures for CDC tests

Change-Id: Ib882cced423b8696b32a0eba3c5fcde5fea78cc7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/277612
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Cody Cutrer 2021-11-08 09:44:20 -07:00
parent 599667cf26
commit 005b2d283a
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# frozen_string_literal: true
#
# Copyright (C) 2020 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
#
Dir.glob(File.join(__dir__, "fixtures/**/*.rb")).sort.each do |file|
require_relative file
end