diff --git a/lib/factory_girl.rb b/lib/factory_girl.rb index c9921c2..463fd06 100644 --- a/lib/factory_girl.rb +++ b/lib/factory_girl.rb @@ -20,3 +20,7 @@ require 'factory_girl/railtie' def Factory (name, attrs = {}) Factory.default_strategy(name, attrs) end + +class Factory + VERSION = "1.2.5" +end diff --git a/lib/factory_girl/factory.rb b/lib/factory_girl/factory.rb index 2eac288..11cddc2 100644 --- a/lib/factory_girl/factory.rb +++ b/lib/factory_girl/factory.rb @@ -1,6 +1,4 @@ class Factory - VERSION = "1.2.5.beta1" - # Raised when a factory is defined that attempts to instantiate itself. class AssociationDefinitionError < RuntimeError end