Sha256: 62fc515a2ae014955af658e75cc33eb9cb3a8c1af5983db7266ae9752c23164d
Contents?: true
Size: 516 Bytes
Versions: 2
Compression:
Stored size: 516 Bytes
Contents
class NetSystem::RedisClientTest < NetSystem::ClientTest def subject @subject ||= subject_class.new end test :subject_class do assert subject_class == NetSystem::RedisClient end test :subject do assert subject.conn.class == Redis end test :call do result = subject.call :keys assert result.class == Array assert result.count == 0 end test :now do result = subject.now assert result.class == Array assert result.map(&:class) == [Integer, Integer] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lizarb-1.0.4 | lib/net_system/net/controllers/client/redis_client_test.rb |
lizarb-1.0.3 | lib/net_system/net/controllers/client/redis_client_test.rb |