Sha256: 630d2d9b311303809843dc1918b9cf5a6a2d4da159718f74425efe4102b8781d
Contents?: true
Size: 431 Bytes
Versions: 7
Compression:
Stored size: 431 Bytes
Contents
require "rails/generators" require_relative "../../test_data/generator_support" module TestData class CableYamlGenerator < Rails::Generators::Base def call unless Configurators::CableYaml.new.verify.looks_good? inject_into_file "config/cable.yml", before: BEFORE_TEST_STANZA_REGEX do <<~YAML test_data: adapter: async YAML end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems