From 6fb75606869cbc278811c131dca49e3e66cf6662 Mon Sep 17 00:00:00 2001 From: Brian Kephart Date: Tue, 7 Jun 2022 16:39:42 -0500 Subject: [PATCH] Add a comment to the README about Rails controller tests. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c2d6cc4..a2adf2b 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,10 @@ MaybeLater.config do |config| config.max_threads = 5 # If set to true, will invoke the after_reply tasks even if the server doesn't - # provide an array of rack.after_reply array + # provide a rack.after_reply array. + # One reason to do this is if you are using Rails controller tests + # (with no webserver) rather than system tests. + # config.invoke_even_if_server_is_unsupported = Rails.env.test? config.invoke_even_if_server_is_unsupported = false end ```