lib/generators/blacklight/test_support_generator.rb in blacklight-6.0.2 vs lib/generators/blacklight/test_support_generator.rb in blacklight-6.1.0

- old
+ new

@@ -7,12 +7,14 @@ require 'rails/generators' require 'rails/generators/base' module Blacklight class TestSupport < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) - desc """ -Generate blacklight testing configurations for blacklight's own tests, or for blacklight plugins to use for testing -""" + + desc <<-EOS + Generate blacklight testing configurations for blacklight's own tests, or for blacklight plugins to use for testing + EOS + def alternate_controller copy_file "alternate_controller.rb", "app/controllers/alternate_controller.rb" routing_code = <<-EOF.strip_heredoc resource :alternate, controller: 'alternate', only: [:index] do