class Interactor::Context::Generators::RspecGenerator

Public Instance Methods

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