Sha256: 4232df473790bff66007a97bab0701f1e185e7a0d9fe35ac30b85bef640e641b
Contents?: true
Size: 498 Bytes
Versions: 17
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true module Alchemy module TestSupport class << self def factory_paths Dir[ ::Alchemy::Engine.root.join("lib", "alchemy", "test_support", "factories", "*_factory.rb") ].map { |path| path.sub(/.rb\z/, "") } end deprecate factory_paths: :factories_path, deprecator: Alchemy::Deprecation def factories_path ::Alchemy::Engine.root.join("lib", "alchemy", "test_support", "factories") end end end end
Version data entries
17 entries across 17 versions & 1 rubygems