Sha256: f3973c35950b906ee3b85341277f704a9bb4943cebe855d81237769702451a36
Contents?: true
Size: 496 Bytes
Versions: 16
Compression:
Stored size: 496 Bytes
Contents
# frozen_string_literal: true return if caller.find do |line| line.include?("/factory_bot/find_definitions.rb") end Alchemy::Deprecation.warn <<~MSG Please require factories using FactoryBots preferred approach: # spec/rails_helper.rb require 'alchemy/test_support' FactoryBot.definition_file_paths.append(Alchemy::TestSupport.factories_path) FactoryBot.find_definitions MSG Dir["#{File.dirname(__FILE__)}/factories/*.rb"].sort.each do |file| require file end
Version data entries
16 entries across 16 versions & 1 rubygems