Autocorrect rubocop issues

This commit is contained in:
Ryan W
2021-09-26 14:58:22 -07:00
parent 89a3ad305f
commit 13cb133004
3 changed files with 59 additions and 57 deletions
+3 -1
View File
@@ -1,9 +1,11 @@
# frozen_string_literal: true
# This file is copied to spec/ when you run 'rails generate rspec:install'
require 'spec_helper'
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../config/environment', __dir__)
# Prevent database truncation if the environment is production
abort("The Rails environment is running in production mode!") if Rails.env.production?
abort('The Rails environment is running in production mode!') if Rails.env.production?
require 'rspec/rails'
# Add additional requires below this line. Rails is not loaded until this point!