thoughtbot/factory_bot_rails

View on GitHub
bin/setup

Summary

Maintainability
Test Coverage
#!/usr/bin/env sh

# Run this script immediately after cloning the codebase.

# Exit if any subcommand fails
set -e

# Set up Ruby dependencies via Bundler
bundle install

# Add binstubs to PATH in ~/.zshenv like this:
#   export PATH=".git/safe/../../bin:$PATH"
mkdir -p .git/safe

# Set up Appraisal to help us test against multiple Rails versions
bundle exec appraisal install