Skip to content

Commit

Permalink
Updated rakefile for test environment refs #story/15995
Browse files Browse the repository at this point in the history
  • Loading branch information
AshviniKabadi committed Dec 16, 2024
1 parent 9dd3eda commit c030a52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ require_relative "config/application"

Rails.application.load_tasks

require 'solr_wrapper/rake_task' unless Rails.env.production?
require 'solr_wrapper/rake_task' unless Rails.env.production? || Rails.env.test?
3 changes: 3 additions & 0 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@

config.action_mailer.perform_caching = false

# Do not fall back to assets pipeline if a precompiled asset is missed.
config.assets.compile = false

# Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
Expand Down

0 comments on commit c030a52

Please sign in to comment.