Automagically load all the context files for spec testing
This commit is contained in:
parent
9aaa1e491e
commit
9a58b9f684
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue