module GeneratorsTestHelper def copy_routes routes = File.expand_path("../../dummy/config/routes.rb", __FILE__) destination = File.join(destination_root, "config") FileUtils.mkdir_p(destination) FileUtils.cp routes, destination end end