Sha256: de4f20c9347a8f4ffe0800445ddd4023a927fdb1a4d6b59c8ee0c4b7d7f0eb2d
Contents?: true
Size: 350 Bytes
Versions: 1
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true require 'rails/generators/base' module SimpleCov class ConfigGenerator < Rails::Generators::Base CONFIG_PATH = File.expand_path('../templates/config.rb', __FILE__) def insert_configuration_to_spec_helper prepend_file 'spec/spec_helper.rb' do File.read(CONFIG_PATH) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bestie-0.2.0 | lib/generators/simple_cov/config_generator.rb |