class Rspec::Generators::SystemGenerator

@private

Public Instance Methods

filename() click to toggle source
# File lib/generators/rspec/system/system_generator.rb, line 19
def filename
  "#{table_name}_spec.rb"
end
generate_system_spec() click to toggle source
# File lib/generators/rspec/system/system_generator.rb, line 9
def generate_system_spec
  return unless options[:system_specs]

  template template_name, target_path('system', class_path, filename)
end
template_name() click to toggle source
# File lib/generators/rspec/system/system_generator.rb, line 15
def template_name
  'system_spec.rb'
end