diff options
author | Marc Ignacio <marcrendlignacio@gmail.com> | 2017-06-22 09:10:08 +0800 |
---|---|---|
committer | Marc Ignacio <marcrendlignacio@gmail.com> | 2017-06-22 16:15:47 +0800 |
commit | f55ecc6a7c7866a13fe9f5b84b295f2935c6ff1f (patch) | |
tree | 8df079fa2104fe88b0101cb8722f9c03b06afac9 /activerecord/test/cases/relations_test.rb | |
parent | 95ee77b3aeed0eb9cbac22268b398a7917e536d3 (diff) | |
download | rails-f55ecc6a7c7866a13fe9f5b84b295f2935c6ff1f.tar.gz rails-f55ecc6a7c7866a13fe9f5b84b295f2935c6ff1f.tar.bz2 rails-f55ecc6a7c7866a13fe9f5b84b295f2935c6ff1f.zip |
Allows for other common redis options to be in cable.yml, by default
- Adds RedisAdapterTest::AlternateConfiguration to account
for a relatively common alternative setup, as it’s used
as the first example in the
[Redis rubygem](https://github.com/redis/redis-rb#getting-started)
- Supplies original RedisAdapterTest with more complete
redis:// url format by adding a ‘userinfo’ (blank user),
so that it resembles the alternate configuration
- Supplies original EventedRedisAdapterTest with more complete
redis:// url as well
- Adds before_script to start redis-server with password as a daemon
and with explicit defaults copied from the default redis.conf
(Instead of using Travis' default init/upstart scripts for `redis` service)
Diffstat (limited to 'activerecord/test/cases/relations_test.rb')
0 files changed, 0 insertions, 0 deletions