Skip to content

Commit

Permalink
Merge branch 'main' into direct_upload_of_large_files
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed Jun 18, 2024
2 parents b653d07 + 8c0e31f commit 1450d05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/models/account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@
it "uses Redis as a cache store" do
expect(Rails.application.config.action_controller.perform_caching).to be_truthy
expect(ActionController::Base.perform_caching).to be_truthy
expect(Rails.application.config.cache_store).to eq([:redis_cache_store, { url: "redis://localhost:6379/0" }])
expect(Rails.application.config.cache_store).to include(:redis_cache_store)
expect(Rails.application.config.cache_store[1].keys).to include(:redis)
end

it "reverts to using file store when cache is off" do
Expand Down

0 comments on commit 1450d05

Please sign in to comment.