Rspec + FactoryBot + Standardrb

Demo of combining multiple Templates, to install Rspec, FactoryBot and StandardRB
Icons/chart bar
Used 367 times
Created by
A Andrea Fomera

Usage

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/V4YsyX"
Template Source

Review the code before running this template on your machine.

# Rspec... if you _insist_
puts "🙏 Starting off with RSpec!"
run "rails app:template LOCATION='https://railsbytes.com/script/z0gsLX'"

# FactoryBot
puts "🙏 Moving on to install FactoryBot!"
run "rails app:template LOCATION='https://railsbytes.com/script/XnJsbX'"

# StandardRB
puts "🙏 Moving on to install StandardRB!"
run "rails app:template LOCATION='https://railsbytes.com/script/xjNs4x'"
Comments

Sign up or Login to leave a comment.