From 23584e70f3056e0f67e5e17735abc47ece5a97ab Mon Sep 17 00:00:00 2001 From: Sai Srinivasan Date: Sat, 15 Jun 2024 18:52:20 -0700 Subject: [PATCH] change RACK_ENV to MONGOID_ENV --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4b1189c..94790a9 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -ENV['RACK_ENV'] = 'test' +ENV['MONGOID_ENV'] = 'test' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))