Skip to content

Commit bada0f1

Browse files
committed
Run tests under "test" RAILS_ENV
1 parent 814eb7f commit bada0f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
ActiveSupport.test_order = :random
1616

17+
ENV["RAILS_ENV"] ||= "test"
18+
1719
class << Rails
1820
def cache
1921
@cache ||= ActiveSupport::Cache::MemoryStore.new

0 commit comments

Comments
 (0)