You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: testing.rb
    path of file: ./repos/refinerycms/testing/lib/refinery
    
    the code of the file until where you have to start completion: require 'refinerycms/core'
require 'rspec-rails'
require 'factory_bot'
require 'rails-controller-testing'

module Refinery
  autoload :TestingGenerator, 'generators/refinery/testing/testing_generator'
    
      def load_factories
        Refinery.extensions.each do |extension_const|
          if extension_const.respond_to?(:factory_paths)
            extension_const.send(:factory_paths).each do |path|
              FactoryBot.definition_file_paths << path
            end
          end
        end