Skip to content

Commit 13e033b

Browse files
pixeltrixrafaelfranca
authored andcommitted
Fix method redefinition warning
1 parent 1a86eb8 commit 13e033b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
ENV["RAILS_ENV"] ||= "test"
2020

2121
class << Rails
22-
def cache
22+
redefine_method :cache do
2323
@cache ||= ActiveSupport::Cache::MemoryStore.new
2424
end
2525
end

0 commit comments

Comments
 (0)