class Interactor::Generators::RspecGenerator

Public Instance Methods

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