Skip to content

Commit

Permalink
Respect the default build strategy for Factory Girl.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanhussey authored and ianwhite committed Aug 5, 2010
1 parent da39290 commit 05e622d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pickle/adapter.rb
Expand Up @@ -105,7 +105,7 @@ def initialize(factory)
end

def create(attrs = {})
Factory.create(@name, attrs)
Factory(@name, attrs)
end
end

Expand Down

1 comment on commit 05e622d

@seanhussey
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was completely oblivious to the fact that you brought this in. Thanks!

Please sign in to comment.