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