Sha256: f6903b44ae941a2ebe42f02c743f6ce966330927a1e1560a532c4d0c1358b3fb
Contents?: true
Size: 684 Bytes
Versions: 4
Compression:
Stored size: 684 Bytes
Contents
module Inferno # @api private # This module provides constants so that unit tests in suite repositories can # load the factories defined in inferno. module SpecSupport FACTORY_BOT_SUPPORT_PATH = File.expand_path('../../spec/support/factory_bot', __dir__).freeze FACTORY_PATH = File.expand_path('../../spec/factories', __dir__).freeze REQUEST_HELPER_PATH = File.expand_path('../../spec/request_helper', __dir__).freeze RUNNABLE_HELPER_PATH = File.expand_path('../../spec/runnable_helper', __dir__).freeze def self.require_helpers require FACTORY_BOT_SUPPORT_PATH require RUNNABLE_HELPER_PATH require REQUEST_HELPER_PATH end end end
Version data entries
4 entries across 4 versions & 1 rubygems