Sha256: 349c52a4ec045c944fa82159cc037756532bfe3b4edad9be3bc5db1232af6bd7

Contents?: true

Size: 205 Bytes

Versions: 1

Compression:

Stored size: 205 Bytes

Contents

factories_path = File.realpath("#{File.dirname(__FILE__)}/../../spec/factories")

Dir.foreach(factories_path) do |file|
  next unless /\A(.+)\.rb\Z/.match?(file)

  require "#{factories_path}/#{file}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stripe_model_callbacks-0.1.0 lib/stripe_model_callbacks/factory_bot_definitions.rb