Sha256: b3b6d6c7107356a95521d41f594fec700fec3f1d5b0d13d06c931bfc3484f5ee
Contents?: true
Size: 470 Bytes
Versions: 96
Compression:
Stored size: 470 Bytes
Contents
require 'rails/generators/test_unit' require 'rails/generators/resource_helpers' module TestUnit module Generators class ScaffoldGenerator < Base include Rails::Generators::ResourceHelpers check_class_collision :suffix => "ControllerTest" def create_test_files template 'functional_test.rb', File.join('test/functional', controller_class_path, "#{controller_file_name}_controller_test.rb") end end end end
Version data entries
96 entries across 91 versions & 2 rubygems