lib/pickle/adapter.rb in pickle-0.4.9 vs lib/pickle/adapter.rb in pickle-0.4.10

- old
+ new

@@ -136,9 +136,11 @@ class Fabrication < Adapter def self.factories if defined? ::Fabrication ::Fabrication::Support.find_definitions if ::Fabrication::Fabricator.schematics.empty? ::Fabrication::Fabricator.schematics.collect{|v| new(v)} + else + [] end end def initialize(factory) if defined? ::Fabrication