Sha256: e83b9e7eb562b50724ca5c9d0f972647b4aee27ba1750ff05bffcdb2dc2cfd4b

Contents?: true

Size: 194 Bytes

Versions: 7

Compression:

Stored size: 194 Bytes

Contents

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

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stripe_model_callbacks-0.1.7 lib/stripe_model_callbacks/factory_bot_definitions.rb
stripe_model_callbacks-0.1.6 lib/stripe_model_callbacks/factory_bot_definitions.rb
stripe_model_callbacks-0.1.5 lib/stripe_model_callbacks/factory_bot_definitions.rb
stripe_model_callbacks-0.1.4 lib/stripe_model_callbacks/factory_bot_definitions.rb
stripe_model_callbacks-0.1.3 lib/stripe_model_callbacks/factory_bot_definitions.rb
stripe_model_callbacks-0.1.2 lib/stripe_model_callbacks/factory_bot_definitions.rb
stripe_model_callbacks-0.1.1 lib/stripe_model_callbacks/factory_bot_definitions.rb