class Rspec::Generators::SystemGenerator
@private
Public Instance Methods
Source
# File lib/generators/rspec/system/system_generator.rb, line 19 def filename "#{table_name}_spec.rb" end
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
Source
# File lib/generators/rspec/system/system_generator.rb, line 15 def template_name 'system_spec.rb' end