Sha256: 844285608cf82c5a38a306038b2827926cb7b440eb122eba65361152d4f5893a
Contents?: true
Size: 564 Bytes
Versions: 4
Compression:
Stored size: 564 Bytes
Contents
require 'rails/generators' module Minitest module Generators class InstallGenerator < ::Rails::Generators::Base class_option :skip_active_record, type: :boolean, default: false, desc: "Skip Active Record files" desc <<DESC Description: Copy minitest files to your application. DESC def self.source_root @source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates')) end def copy_minitest_files template 'test_helper.rb', File.join("test", "test_helper.rb") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems