From 571b853985c1fa11ab5d68de6d61cdd71fff89a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Boutillier?= Date: Wed, 23 Apr 2014 11:04:54 +0200 Subject: [PATCH] INFO fields renamed in redis server >= 2.6 Some of the INFO fields have been renamed in recent versions of the redis server, and have now a rdb_ prefix. Adapting the specs to reflect that. See https://raw.github.com/antirez/redis/2.6/00-RELEASENOTES --- spec/redis_commands_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/redis_commands_spec.rb b/spec/redis_commands_spec.rb index 76946df..b990465 100644 --- a/spec/redis_commands_spec.rb +++ b/spec/redis_commands_spec.rb @@ -560,7 +560,7 @@ # it "should provide info (INFO)" do @r.info do |r| - [:last_save_time, :redis_version, :total_connections_received, :connected_clients, :total_commands_processed, :connected_slaves, :uptime_in_seconds, :used_memory, :uptime_in_days, :changes_since_last_save].each do |x| + [:rdb_last_save_time, :redis_version, :total_connections_received, :connected_clients, :total_commands_processed, :connected_slaves, :uptime_in_seconds, :used_memory, :uptime_in_days, :rdb_changes_since_last_save].each do |x| r.keys.include?(x).should == true end done