Sha256: 1906ac0c548c2a4c2d1a3a61ff814733f508ac81d2da86529d5edc258fb71330
Contents?: true
Size: 540 Bytes
Versions: 117
Compression:
Stored size: 540 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" class_option :skip_routes, type: :boolean 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
117 entries across 111 versions & 10 rubygems