Skip to content

Commit c77fdda

Browse files
committed
Mention current rails version for #2327 ruby2.6/rails4.2 monkeypatch
1 parent 96303af commit c77fdda

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/support/ruby_2_6_rails_4_2_patch.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ def recycle!
1313
end
1414
end
1515
else
16-
puts 'Monkeypatch for ActionController::TestResponse no longer needed'
16+
msg = 'Monkeypatch for ActionController::TestResponse not needed for '\
17+
'Rails 5+. We can drop this patch once we drop support for Rails < 5. '\
18+
"Current Rails version: #{ENV['RAILS_VERSION']}"
19+
20+
puts
21+
puts "\033[33m **** #{msg} **** \033[0m"
22+
puts
1723
end
1824
end

0 commit comments

Comments
 (0)