class Interactor::Context::Generators::TestUnitGenerator

Public Instance Methods

create_spec() click to toggle source
# File lib/rails/generators/interactor/context/test_unit_generator.rb, line 11
def create_spec
  template 'context_test_unit.erb', active_interactor_file(parent_dir: 'test', suffix: 'context_test')
end