Thong Kuah
|
a2cfc150ce
|
Add # frozen_string_literal to spec/models
Adds `# frozen_string_literal: true` to spec/models ruby files
|
2019-04-01 14:37:54 +13:00 |
|
Matija Čupić
|
17c4e53e80
|
Remove rails5 specific tests for #cast_value_from_cache
|
2018-05-17 13:23:57 +02:00 |
|
Matija Čupić
|
13298bb3d1
|
Add test for #cast_value_from_cache
|
2018-05-17 13:06:23 +02:00 |
|
Matija Čupić
|
eeb955a66d
|
Revert "Move argument check to cached getter definition class method"
This reverts commit 4e1bb1d101 .
|
2018-05-16 22:43:38 +02:00 |
|
Matija Čupić
|
4e1bb1d101
|
Move argument check to cached getter definition class method
|
2018-05-16 21:49:09 +02:00 |
|
Matija Čupić
|
a4b0876b39
|
Add attribute check in cached getter
|
2018-05-16 21:36:20 +02:00 |
|
Matija Čupić
|
6cc3a07dca
|
Dynamically cast value from cache
|
2018-05-15 21:55:16 +02:00 |
|
Matija Čupić
|
2c29e80a93
|
Check for exact time matches
|
2018-05-14 16:12:18 +02:00 |
|
Matija Čupić
|
13f68f55b3
|
Expect calls to read_attribute depending on cache presence
|
2018-05-14 15:54:23 +02:00 |
|
Matija Čupić
|
f4810647a0
|
Add RedisCacheable specs for memoization correctness
|
2018-05-12 15:32:13 +02:00 |
|
Matija Čupić
|
b1fcac85bd
|
Make #cached_attr_reader and #cached_attr_time_reader specs Redis based
|
2018-05-12 14:43:05 +02:00 |
|
Matija Čupić
|
4c2b56897e
|
Add specs for #cached_attr_reader and cached_attr_time_reader
|
2018-05-11 18:21:17 +02:00 |
|
Matija Čupić
|
e27ea80545
|
Fix RedisCacheable#cache_attributes spec
|
2018-02-06 19:06:00 +01:00 |
|
Matija Čupić
|
b75fa80eaa
|
Check return value in RedisCacheable#cached_attribute spec
|
2018-02-06 19:01:41 +01:00 |
|
Matija Čupić
|
2d2a4ede1f
|
Use double instead of runner in RedisCacheable spec
|
2018-02-06 19:00:35 +01:00 |
|
Matija Čupić
|
aa60c7a2b5
|
Extract attribute caching to RedisCacheable concern
|
2018-02-05 17:07:49 +01:00 |
|