require 'rails/generators' class TestAppGenerator < Rails::Generators::Base source_root File.expand_path("../../../../test_app_templates", __FILE__) def copy_blacklight_test_app_rake_task copy_file "lib/tasks/blacklight_test_app.rake" end def run_blacklight_generator say_status("warning", "GENERATING BL", :yellow) generate 'blacklight', '--devise' end def run_blacklight_range_limit_generator say_status("warning", "GENERATING BL", :yellow) generate 'blacklight_range_limit' end end