aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorschneems <richard.schneeman+foo@gmail.com>2018-09-20 20:40:31 -0500
committerschneems <richard.schneeman+foo@gmail.com>2018-09-20 20:40:31 -0500
commit3424bd83d699bb996aa27d85b970e484d37e3485 (patch)
treedcef5ad547631c8680763cd57479259d2ddc75ed /railties/test
parent135d3e15b72b9820212027b057df8980140a947b (diff)
downloadrails-3424bd83d699bb996aa27d85b970e484d37e3485.tar.gz
rails-3424bd83d699bb996aa27d85b970e484d37e3485.tar.bz2
rails-3424bd83d699bb996aa27d85b970e484d37e3485.zip
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.
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/configuration_test.rb2
1 files changed, 1 insertions, 1 deletions
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