class Rspec::Generators::SystemGenerator
@private
Public Instance Methods
filename()
click to toggle source
# File lib/generators/rspec/system/system_generator.rb, line 20 def filename "#{table_name}_spec.rb" end
generate_system_spec()
click to toggle source
# File lib/generators/rspec/system/system_generator.rb, line 10 def generate_system_spec return unless options[:system_specs] template template_name, File.join('spec/system', class_path, filename) end
template_name()
click to toggle source
# File lib/generators/rspec/system/system_generator.rb, line 16 def template_name 'system_spec.rb' end