Module: Inferno::SpecSupport Private

Defined in:
lib/inferno/spec_support.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

This module provides constants so that unit tests in suite repositories can load the factories defined in inferno.

Constant Summary collapse

FACTORY_BOT_SUPPORT_PATH =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

File.expand_path('../../spec/support/factory_bot', __dir__).freeze
FACTORY_PATH =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

File.expand_path('../../spec/factories', __dir__).freeze
REQUEST_HELPER_PATH =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

File.expand_path('../../spec/request_helper', __dir__).freeze
RUNNABLE_HELPER_PATH =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

File.expand_path('../../spec/runnable_helper', __dir__).freeze

Class Method Summary collapse

Class Method Details

.require_helpersObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
12
13
14
15
# File 'lib/inferno/spec_support.rb', line 11

def self.require_helpers
  require FACTORY_BOT_SUPPORT_PATH
  require RUNNABLE_HELPER_PATH
  require REQUEST_HELPER_PATH
end