Skip to content

Commit

Permalink
Merge pull request #1 from releu/upgrade_factory_girl
Browse files Browse the repository at this point in the history
use FactoryGirl.create instead of Factory.create
  • Loading branch information
wireframe committed Apr 4, 2012
2 parents 4503827 + 6dda05e commit 105b944
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/factory_girl/rspec/version.rb
@@ -1,5 +1,5 @@
module FactoryGirl module FactoryGirl
module Rspec module Rspec
VERSION = "0.0.1" VERSION = "0.0.2"
end end
end end
2 changes: 1 addition & 1 deletion lib/factory_girl/rspec/with.rb
Expand Up @@ -4,7 +4,7 @@ module FactoryGirl
module Rspec module Rspec
module With module With
def with(name, options = {}) def with(name, options = {})
let(name) { ::Factory.create(name, options) } let(name) { ::FactoryGirl.create(name, options) }
end end
end end
end end
Expand Down

0 comments on commit 105b944

Please sign in to comment.