Automagically load all the context files for spec testing

This commit is contained in:
Eric Schultz 2021-06-15 14:06:28 -05:00 committed by Eric Schultz
parent 9aaa1e491e
commit 9a58b9f684

View file

@ -2,5 +2,7 @@
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE # Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
require 'support/contexts/shared_donation_charge_context'
require 'support/contexts/shared_rd_donation_value_context' Dir["#{File.dirname (__FILE__)}/contexts/*"].each do |file|
require_relative "./contexts/#{File.basename(file, ".rb")}"
end