Sha256: 2544036ac28c6efb61282c864e3a145d7d832365ce6329cf7549b4033d840bd7
Contents?: true
Size: 320 Bytes
Versions: 4
Compression:
Stored size: 320 Bytes
Contents
# frozen_string_literal: true module TestUnit class DecoratorGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_test_file template 'decorator_test.rb', File.join('test/decorators', class_path, "#{file_name}_decorator_test.rb") end end end
Version data entries
4 entries across 4 versions & 2 rubygems