tests/redic_test.rb in redic-1.4.1 vs tests/redic_test.rb in redic-1.5.0
- old
+ new
@@ -5,14 +5,15 @@
prepare do
c = Redic.new(REDIS_URL)
begin
- c.call("FLUSHDB")
+ c.call!("FLUSHDB").inspect
rescue
- c.call("AUTH", "foo")
- c.call("FLUSHDB")
- c.call("CONFIG", "SET", "requirepass", "")
+ c.call!("AUTH", "foo")
+ c.call!("SELECT", "0")
+ c.call!("FLUSHDB")
+ c.call!("CONFIG", "SET", "requirepass", "")
end
end
setup do
Redic.new(REDIS_URL)