Rspec + FactoryBot + Standardrb

Demo of combining multiple Templates, to install Rspec, FactoryBot and StandardRB
Used 65 times
Created by
A Andrew 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'"
Mark
© 2020 GoRails, LLC