Mention current rails version for #2327 ruby2.6/rails4.2 monkeypatch

This commit is contained in:
Wasif Hossain 2019-04-23 15:18:18 +06:00
parent 96303af45f
commit c77fddadd4
No known key found for this signature in database
GPG Key ID: 14C15A54E34D7803

View File

@ -13,6 +13,12 @@ if RUBY_VERSION >= '2.6.0'
end
end
else
puts 'Monkeypatch for ActionController::TestResponse no longer needed'
msg = 'Monkeypatch for ActionController::TestResponse not needed for '\
'Rails 5+. We can drop this patch once we drop support for Rails < 5. '\
"Current Rails version: #{ENV['RAILS_VERSION']}"
puts
puts "\033[33m **** #{msg} **** \033[0m"
puts
end
end