Sha256: d22c2fb601659adfe8a5fa3f7e53faa73b03c69e40642f52062e934f89583a09
Contents?: true
Size: 389 Bytes
Versions: 44
Compression:
Stored size: 389 Bytes
Contents
require 'generators/rspec' module Rspec module Generators # @private class HelperGenerator < Base class_option :helper_specs, :type => :boolean, :default => true def generate_helper_spec return unless options[:helper_specs] template 'helper_spec.rb', File.join('spec/helpers', class_path, "#{file_name}_helper_spec.rb") end end end end
Version data entries
44 entries across 43 versions & 5 rubygems