Sha256: c4dc17be8d0180d2c9c0378142a9fdcd21ebd85898168381f65b312289c21813
Contents?: true
Size: 491 Bytes
Versions: 89
Compression:
Stored size: 491 Bytes
Contents
# frozen_string_literal: true require "rails/generators/test_unit" module TestUnit # :nodoc: module Generators # :nodoc: class ControllerGenerator < Base # :nodoc: argument :actions, type: :array, default: [], banner: "action action" check_class_collision suffix: "ControllerTest" def create_test_files template "functional_test.rb", File.join("test/controllers", class_path, "#{file_name}_controller_test.rb") end end end end
Version data entries
89 entries across 81 versions & 6 rubygems