]> cat aescling's git repositories - mastodon.git/commit
Isolate each specs for cache store (#6450)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Sat, 17 Feb 2018 21:35:05 +0000 (06:35 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 17 Feb 2018 21:35:05 +0000 (22:35 +0100)
commit9b8a4484778fb55bcb2526992807a51270229b72
tree7dad9ae3df644227645b7607a97776e8602a56dc
parenta71af984011ff98df2fa1b7f6c983706a91d99bf
Isolate each specs for cache store (#6450)

The cache store is explicitly used by some specs, but they were not
isolated and therefore not reliable. This fixes the issue by clearing
the cache after each specs.
config/environments/test.rb
spec/models/setting_spec.rb
spec/presenters/instance_presenter_spec.rb
spec/rails_helper.rb