require File.expand_path('../../application_template_helper', __FILE__) generate_test_application do #***************************************************************************** # MODELS AND SCAFFOLDING generate(:scaffold, 'galaxy name:string --old-style-hash') generate(:scaffold, 'planet name:string --old-style-hash') generate(:scaffold, 'star name:string --old-style-hash') #***************************************************************************** # MORE CONTROLLERS AND VIEWS generate(:controller, 'home index --old-style-hash') replace_view 'home', 'index', <<-CODE.strip_heredoc