diff --git a/lib/generators/templates/setup/dev_prime.rb b/lib/generators/templates/setup/dev_prime.rb deleted file mode 100644 index 44da79691..000000000 --- a/lib/generators/templates/setup/dev_prime.rb +++ /dev/null @@ -1,12 +0,0 @@ -if Rails.env.development? || Rails.env.test? - require "factory_bot" if Bundler.rubygems.find_name("factory_bot_rails").any? - - namespace :dev do - desc "Sample data for local development environment" - task prime: "db:setup" do - include FactoryBot::Syntax::Methods if Bundler.rubygems.find_name("factory_bot_rails").any? - - # create(:user, email: "user@example.com", password: "password") - end - end -end diff --git a/test/generators/suspenders/setup_generator_test.rb b/test/generators/suspenders/setup_generator_test.rb index e3396ba2b..c8db00da3 100644 --- a/test/generators/suspenders/setup_generator_test.rb +++ b/test/generators/suspenders/setup_generator_test.rb @@ -32,9 +32,7 @@ def prepare_destination end def restore_destination - remove_file_if_exists "Brewfile" restore_file "bin/setup" - remove_dir_if_exists "lib/tasks" end def bin_setup