Sha256: 3f45cf3d78f290421283106fe433b2ffd5d95366623735c95d4b82044b061252
Contents?: true
Size: 473 Bytes
Versions: 3
Compression:
Stored size: 473 Bytes
Contents
require 'rails/generators' module MiniTest module Generators class InstallGenerator < ::Rails::Generators::Base 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/minitest_helper.rb', File.join("test", "minitest_helper.rb") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems