Sha256: 1a74878c01708326ae9d4594739219a2c3a0cc314b591605967240205a9309d1
Contents?: true
Size: 317 Bytes
Versions: 4
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true module Rspec class DecoratorGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_spec_file template 'decorator_spec.rb', File.join('spec/decorators', class_path, "#{file_name}_decorator_spec.rb") end end end
Version data entries
4 entries across 4 versions & 2 rubygems