Sha256: 2c6ca1fbb6f10c3400c381cb1997f917d47749a06801f7c95273ea98a3480a39
Contents?: true
Size: 336 Bytes
Versions: 20
Compression:
Stored size: 336 Bytes
Contents
require "rails/generators/test_unit" module TestUnit # :nodoc: module Generators # :nodoc: class JobGenerator < Base # :nodoc: check_class_collision suffix: "JobTest" def create_test_file template "unit_test.rb.erb", File.join("test/jobs", class_path, "#{file_name}_job_test.rb") end end end end
Version data entries
20 entries across 20 versions & 1 rubygems