diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2018-12-23 17:09:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-23 17:09:05 +0100 |
commit | 4eead6633dff2066a988fa59039f7cac897294ab (patch) | |
tree | e6a014c893c7932953ceb02fabb858de0c4eea52 /activerecord/test/cases/query_cache_test.rb | |
parent | f9a5fd52540c6228103af38218e909557b01b17a (diff) | |
parent | 05781f1f9c0831d24ab2bf61421fe420967c60fa (diff) | |
download | rails-4eead6633dff2066a988fa59039f7cac897294ab.tar.gz rails-4eead6633dff2066a988fa59039f7cac897294ab.tar.bz2 rails-4eead6633dff2066a988fa59039f7cac897294ab.zip |
Merge pull request #34778 from yahonda/ruby25_frozen_error
No need to handle if FrozenError is available
Diffstat (limited to 'activerecord/test/cases/query_cache_test.rb')
-rw-r--r-- | activerecord/test/cases/query_cache_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/query_cache_test.rb b/activerecord/test/cases/query_cache_test.rb index 74d63c9995..04bbc7d136 100644 --- a/activerecord/test/cases/query_cache_test.rb +++ b/activerecord/test/cases/query_cache_test.rb @@ -314,7 +314,7 @@ class QueryCacheTest < ActiveRecord::TestCase payload[:sql].downcase! end - assert_raises frozen_error_class do + assert_raises FrozenError do ActiveRecord::Base.cache do assert_queries(1) { Task.find(1); Task.find(1) } end |