class Rspec::Generators::RequestGenerator

@private

Public Instance Methods

generate_request_spec() click to toggle source
# File lib/generators/rspec/request/request_generator.rb, line 9
def generate_request_spec
  return unless options[:request_specs]

  template 'request_spec.rb',
           target_path('requests', "#{name.underscore.pluralize}_spec.rb")
end