# frozen_string_literal: true
if %w[test rspec].any? { |arg| ARGV.first.to_s.include?(arg) }
ENV['RACK_ENV'] = ENV['RAILS_ENV'] = 'test'
end
require File.expand_path('config/application', __dir__)
Rails.application.load_tasks
# frozen_string_literal: true
if %w[test rspec].any? { |arg| ARGV.first.to_s.include?(arg) }
ENV['RACK_ENV'] = ENV['RAILS_ENV'] = 'test'
end
require File.expand_path('config/application', __dir__)
Rails.application.load_tasks