Sha256: 311479dc254694351046898aa82a1994c9fbb4c4b2ff4f0bc5b000d6f832ab0d

Contents?: true

Size: 356 Bytes

Versions: 22

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module EacRailsBase0
  class RspecGenerator < Rails::Generators::Base
    source_root File.expand_path('templates', __dir__)

    def create_initializer_files
      copy_file 'rspec.rc', '.rspec'
      copy_file 'spec_rails_helper.rb', 'lib/spec_rails_helper.rb'
      copy_file 'bin_rspec.rb', 'bin/rspec'
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
eac_rails_base0-0.7.0 lib/generators/eac_rails_base0/rspec/rspec_generator.rb
eac_rails_base0-0.6.0 lib/generators/eac_rails_base0/rspec/rspec_generator.rb