Permalink
Browse files

Stub Proxy now returns a plain ruby Object instead of Mocha::Mock

  • Loading branch information...
eugenebolshakov authored and jferris committed Jan 6, 2009
1 parent 1fa41c3 commit 548586ede8c4dc7297245ab68608879871998601
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/factory_girl/factory.rb
@@ -222,7 +222,7 @@ def self.create (name, overrides = {})
factory_by_name(name).run(Proxy::Create, overrides)
end
# Generates and returns a Mocha::Mock with all attributes from this factory stubbed out.
# Generates and returns a mock object with all attributes from this factory stubbed out.
# Attributes can be individually overridden by passing in a Hash of attribute => value
# pairs.
#

0 comments on commit 548586e

Please sign in to comment.