Sha256: 57bef5f417b2fdfdad486fb9827f658e0a29105f51329dde3f2c51f191ae0108
Contents?: true
Size: 315 Bytes
Versions: 2
Compression:
Stored size: 315 Bytes
Contents
# encoding: UTF-8 require File.expand_path("./helper", File.dirname(__FILE__)) setup do init Redis.new(OPTIONS) end test "SAVE and BGSAVE" do |r| assert_nothing_raised do r.save end assert_nothing_raised do r.bgsave end end test "LASTSAVE" do |r| assert Time.at(r.lastsave) <= Time.now end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
gorsuch-redis-3.0.0.rc1 | test/persistence_control_commands_test.rb |
redis-3.0.0.rc1 | test/persistence_control_commands_test.rb |