mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
base_spec_helper now defines configs that are universal, whereas spec_helper is for configs that are using DatabaseCleaner and Selenium. This means we can include the base_spec_helper in both the system test setup and the regular setup but separate the other configurations for each type.
7 lines
215 B
Ruby
7 lines
215 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "base_spec_helper"
|
|
|
|
# system/support/ files contain system tests configurations and helpers
|
|
Dir[File.join(__dir__, "system/support/**/*.rb")].sort.each { |file| require file }
|