Sha256: 1d06a258620b2de1a6e28ea24bc2c1edd61491d1b10f315edf2e51295812af7d
Contents?: true
Size: 804 Bytes
Versions: 2
Compression:
Stored size: 804 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 TEST_KIT_SPEC = File.expand_path('../../spec/shared/test_kit_examples', __dir__).freeze def self.require_helpers require FACTORY_BOT_SUPPORT_PATH require RUNNABLE_HELPER_PATH require REQUEST_HELPER_PATH require TEST_KIT_SPEC end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inferno_core-0.6.1 | lib/inferno/spec_support.rb |
inferno_core-0.6.0 | lib/inferno/spec_support.rb |