Skip to content

Commit

Permalink
Run tests under "test" RAILS_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jan 3, 2024
1 parent 814eb7f commit bada0f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

ActiveSupport.test_order = :random

ENV["RAILS_ENV"] ||= "test"

class << Rails
def cache
@cache ||= ActiveSupport::Cache::MemoryStore.new
Expand Down

0 comments on commit bada0f1

Please sign in to comment.