Explicitly avoid all readonly protection and scoping

This commit is contained in:
Sam
2017-10-25 13:31:44 +11:00
parent 7ca8853861
commit 0d816302e2
2 changed files with 10 additions and 1 deletions

View File

@ -34,6 +34,8 @@ describe ApplicationRequest do
# flush will be deferred no error raised
inc(:http_total, autoflush: 3)
ApplicationRequest.write_cache!
$redis.slaveof("no", "one")
inc(:http_total, autoflush: 3)