Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 17816d29ec
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.373 kB
require 'generators/rspec'
module Rspec
module Generators
class HelperGenerator < Base
class_option :helper_specs, :type => :boolean, :default => true
def create_helper_files
return unless options[:helper_specs]
template 'helper_spec.rb', File.join('spec/helpers', class_path, "#{file_name}_helper_spec.rb")
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.