Permalink
Browse files

Merge pull request #1 from releu/upgrade_factory_girl

use FactoryGirl.create instead of Factory.create
  • Loading branch information...
wireframe committed Apr 4, 2012
2 parents 4503827 + 6dda05e commit 105b944bd2ce77aad5a3306dfc3f21b1777b4bdf
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/factory_girl/rspec/version.rb
  2. +1 −1 lib/factory_girl/rspec/with.rb
@@ -1,5 +1,5 @@
module FactoryGirl
module Rspec
- VERSION = "0.0.1"
+ VERSION = "0.0.2"
end
end
@@ -4,7 +4,7 @@ module FactoryGirl
module Rspec
module With
def with(name, options = {})
- let(name) { ::Factory.create(name, options) }
+ let(name) { ::FactoryGirl.create(name, options) }
end
end
end

0 comments on commit 105b944

Please sign in to comment.