Sha256: c08a36e1421d6ad8102ee5d3123e8c950c0b8bb837aa253653adb778a9d9ae14
Contents?: true
Size: 642 Bytes
Versions: 1
Compression:
Stored size: 642 Bytes
Contents
# frozen_string_literal: true module Specimen module Generator class RSpecProjectGenerator < ProjectGeneratorBase DEFAULT_DIRECTORIES = %w[spec/examples spec/support].freeze TEMPLATES_DIR = 'rspec/templates' TEMPLATES = %w[ spec/examples/example_spec.rb spec/spec_helper.rb config/.rspec config/specimen.specs.yml ].freeze def execute! perform end no_commands do def perform create_directories(DEFAULT_DIRECTORIES) create_files_by_templates(TEMPLATES_DIR, TEMPLATES) true end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
specimen-0.0.4.alpha | lib/specimen/generator/rspec/rspec_project_generator.rb |