Sha256: a3e8a7e3fa79a703a94ca6b26e88f2931e3c14bef597c4a305f6702ded114abf
Contents?: true
Size: 445 Bytes
Versions: 4
Compression:
Stored size: 445 Bytes
Contents
require "rails/generators" module Suspenders class FakerGenerator < Rails::Generators::Base source_root File.expand_path( File.join("..", "..", "..", "templates"), File.dirname(__FILE__), ) def add_factory_bot gem 'faker', group: %i(development test) Bundler.with_clean_env { run "bundle install" } end def set_up_faker copy_file 'faker_rspec.rb', 'spec/support/faker.rb' end end end
Version data entries
4 entries across 4 versions & 1 rubygems