Sha256: 29797a276c53a9859203f6729b3a3e0afadeae0085894fb9c741f21935a9cf95
Contents?: true
Size: 407 Bytes
Versions: 10
Compression:
Stored size: 407 Bytes
Contents
# frozen_string_literal: true module TestUnit module Generators class DecoratorGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("templates", __dir__) check_class_collision suffix: "DecoratorTest" def create_test_file template 'decorator_test.rb', File.join('test/decorators', class_path, "#{file_name}_decorator_test.rb") end end end end
Version data entries
10 entries across 10 versions & 1 rubygems