Sha256: 8bfb7a6a5bad6f30bae69f37ff9cad8f56840f7cfd811c1c722f447235320f5d

Contents?: true

Size: 244 Bytes

Versions: 8

Compression:

Stored size: 244 Bytes

Contents

module FactoryGirl
  def self.preload(&block)
    Preload.preloaders << block
  end

  module Syntax
    module Default
      class DSL
        def preload(&block)
          ::FactoryGirl.preload(&block)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
factory_girl-preload-2.3.1 lib/factory_girl/preload/extension.rb
factory_girl-preload-2.3.0 lib/factory_girl/preload/extension.rb
factory_girl-preload-2.2.0 lib/factory_girl/preload/extension.rb
factory_girl-preload-2.1.1 lib/factory_girl/preload/extension.rb
factory_girl-preload-2.1.0 lib/factory_girl/preload/extension.rb
factory_girl-preload-2.0.2 lib/factory_girl/preload/extension.rb
factory_girl-preload-2.0.1 lib/factory_girl/preload/extension.rb
factory_girl-preload-2.0.0 lib/factory_girl/preload/extension.rb