Skip to content

Commit

Permalink
Remove unnecessary FactoryGirl.find_definitions
Browse files Browse the repository at this point in the history
This line causes a "duplicate factory definition" error when running `rake
db:setup`, which is run by `bin/setup`.
  • Loading branch information
Dan Croak committed Jul 14, 2014
1 parent db83a95 commit a20ddf1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion templates/development_seeds.rb
Expand Up @@ -4,7 +4,6 @@
namespace :dev do
desc "Seed data for development environment"
task prime: "db:setup" do
FactoryGirl.find_definitions
include FactoryGirl::Syntax::Methods

# create(:user, email: "user@example.com", password: "password")
Expand Down

0 comments on commit a20ddf1

Please sign in to comment.