store all data in memory in preperarion for shallow routes

This commit is contained in:
2022-11-30 13:21:06 +02:00
parent 277d4dce36
commit 1d91ff2fc6
14 changed files with 149 additions and 57 deletions

View File

@@ -1,7 +1,7 @@
# This file is copied to spec/ when you run 'rails generate rspec:install'
require 'spec_helper'
ENV['RAILS_ENV'] ||= 'test'
require_relative '../config/environment'
require_relative '../test/dummy/config/environment'
# Prevent database truncation if the environment is production
abort("The Rails environment is running in production mode!") if Rails.env.production?
require 'rspec/rails'