require 'test_helper' require 'generators/setup/setup_generator' module HorsePower class SetupGeneratorTest < Rails::Generators::TestCase tests SetupGenerator destination Rails.root.join('tmp/generators') setup :prepare_destination # test "generator runs without errors" do # assert_nothing_raised do # run_generator ["arguments"] # end # end end end