lib/generators/test_unit/notifier/notifier_generator.rb in outbox-rails-1.0.0 vs lib/generators/test_unit/notifier/notifier_generator.rb in outbox-rails-1.1.0

- old
+ new

@@ -1,8 +1,10 @@ +# frozen_string_literal: true + module TestUnit module Generators class NotifierGenerator < ::Rails::Generators::NamedBase - source_root File.expand_path('../templates', __FILE__) + source_root File.expand_path('templates', __dir__) check_class_collision suffix: 'Test' argument :actions, type: :array, default: [], banner: 'method method' def generate_mailer_spec