class MintReportGeneratorTest < Rails::Generators::TestCase tests MintReportGenerator destination File.expand_path("../tmp", File.dirname(__FILE__)) setup :prepare_destination should "create Foo report" do run_generator(['FooReport']) end end