Skip to content

Commit

Permalink
Try adding require to rails helper
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeheft committed Jul 8, 2024
1 parent a12b45f commit df2233a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
require_relative "../config/environment"
# Prevent database truncation if the environment is production
abort("The Rails environment is running in production mode!") if Rails.env.production?
Dir[Rails.root.join("app/middleware/*.{rb}")].each { |file| require file }
require "rspec/rails"
require "spec_helper"
require "webmock/rspec"
Expand Down

0 comments on commit df2233a

Please sign in to comment.