We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4afd22 commit 3088913Copy full SHA for 3088913
spec/rails_helper.rb
@@ -1,5 +1,6 @@
1
# This file is copied to spec/ when you run 'rails generate rspec:install'
2
ENV['RAILS_ENV'] ||= 'test'
3
+ENV['CONNPASS_API_KEY'] = 'DUMMY_CONNPASS_API_KEY'
4
require File.expand_path('../../config/environment', __FILE__)
5
# Prevent database truncation if the environment is production
6
abort("The Rails environment is running in production mode!") if Rails.env.production?
0 commit comments