class Rspec::Generators::SystemGenerator

@private

def filename

def filename
  "#{table_name}_spec.rb"
end

def generate_system_spec

def generate_system_spec
  return unless options[:system_specs]
  template template_name, File.join('spec/system', class_path, filename)
end

def template_name

def template_name
  'system_spec.rb'
end