Sha256: a6237e3f3945e535b3fdd4ace0d2939607337c6a4c3c0143e7eb136a660b4a95
Contents?: true
Size: 320 Bytes
Versions: 24
Compression:
Stored size: 320 Bytes
Contents
module Rspec module Generators class ServiceGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_service_spec template 'service_spec.rb', File.join('spec/services', class_path, "#{file_name}_service_spec.rb") end end end end
Version data entries
24 entries across 24 versions & 1 rubygems