From 3424bd83d699bb996aa27d85b970e484d37e3485 Mon Sep 17 00:00:00 2001 From: schneems Date: Thu, 20 Sep 2018 20:40:31 -0500 Subject: Switch to supports_cache_versioning? check to a class method - Moving the `supports_cache_versioning?` check to a class method. - Shorten the method doc. - Expand on the error message. --- railties/test/application/configuration_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/test') diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 386b4f76e6..8c10413525 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -133,7 +133,7 @@ module ApplicationTests app "production" end - assert_match(/You're using a cache store/, error.message) + assert_match(/You're using a cache/, error.message) end test "a renders exception on pending migration" do -- cgit v1.2.3