Sha256: f34e909f43003a0acc8aa9ab08693ec09398f97f5e58b57fa969a8462dc4340d
Contents?: true
Size: 315 Bytes
Versions: 4
Compression:
Stored size: 315 Bytes
Contents
module Rspec module Generators class WorkerGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_worker_spec template 'worker_spec.rb', File.join('spec/workers', class_path, "#{file_name}_worker_spec.rb") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems