Skip to content

Commit

Permalink
miscellaneous
Browse files Browse the repository at this point in the history
  • Loading branch information
thejonroberts committed Nov 4, 2024
1 parent 266b126 commit 82d1406
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# config.cache_store = :null_store
config.cache_store = :file_store, "#{Rails.root}/tmp/cache/" # default (when not set)
config.cache_store = :file_store, Rails.root.join("tmp/cache/").to_s # default (when not set)

# Render exception templates for rescuable exceptions and raise for other exceptions.
config.action_dispatch.show_exceptions = :rescuable
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/deployment/99991023145114_store_deploy_time.rake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace :after_party do
if down_tasks.empty?
Health.instance.update_attribute(:latest_deploy_time, Time.now)
else
puts("failed tasks found, latest_deploy_time will not be updated!")
Rails.logger.info { "failed tasks found, latest_deploy_time will not be updated!" }
end
end
end
1 change: 1 addition & 0 deletions spec/datatables/volunteer_datatable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@

context "with supervisors who have volunteers who have cases" do
before :all do
# TODO: let it be instead? could remvoe db cleaner...
DatabaseCleaner.strategy = :transaction
DatabaseCleaner.start

Expand Down

0 comments on commit 82d1406

Please sign in to comment.