diff options
author | Rémy Coutable <remy@rymai.me> | 2018-07-05 13:33:42 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-07-05 13:34:15 +0300 |
commit | f349f2a68c290ef0bfa9c32777426f8be86c0e43 (patch) | |
tree | 3d17acefcd1b79b36b912e572f0c202a1a84e669 /spec/models/concerns | |
parent | fe695ebd24e59f82d16aba629dd6d117be3ee5bb (diff) |
Stop relying on migrations in the CacheableAttributes cache key and cache attributes for 1 minute instead
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/models/concerns')
-rw-r--r-- | spec/models/concerns/cacheable_attributes_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/concerns/cacheable_attributes_spec.rb b/spec/models/concerns/cacheable_attributes_spec.rb index c6331c5ec15..f8c2e29fadd 100644 --- a/spec/models/concerns/cacheable_attributes_spec.rb +++ b/spec/models/concerns/cacheable_attributes_spec.rb @@ -52,7 +52,7 @@ describe CacheableAttributes do describe '.cache_key' do it 'excludes cache attributes' do - expect(minimal_test_class.cache_key).to eq("TestClass:#{Gitlab::VERSION}:#{Gitlab.migrations_hash}:#{Rails.version}") + expect(minimal_test_class.cache_key).to eq("TestClass:#{Gitlab::VERSION}:#{Rails.version}") end end |