Sha256: ddad200809d1977abed8d4a4a7b86bd55eb2acf82210e1bd0ac52371ee9a5cd5

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

module FactoryGirl
  class NullFactory
    attr_reader :definition

    def initialize
      @definition = Definition.new
    end

    delegate :defined_traits, :callbacks, :attributes, :to => :definition

    def compile; end
    def default_strategy; end
    def class_name; end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
factory_girl-2.3.2 lib/factory_girl/null_factory.rb
factory_girl-2.3.1 lib/factory_girl/null_factory.rb
factory_girl-2.3.0 lib/factory_girl/null_factory.rb