Sha256: 4f85c220ddfcc0c7448265a42f448aa6f0ef2d0e1d57a73454fff0fe563f829c

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

class NetSystem::RedisDbTest < NetSystem::DatabaseTest

  test :subject_class do
    assert subject_class == NetSystem::RedisDb
  end

  test :subject do
    assert subject.client.class == NetSystem::RedisClient
  end

  test :now do
    t = subject.now
    assert! t.is_a? Time
    assert t.yday == Time.now.yday
  end

  # test :call do
  #   todo "write this"
  # end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lizarb-1.0.4 lib/net_system/net/controllers/database/redis_db_test.rb
lizarb-1.0.3 lib/net_system/net/controllers/database/redis_db_test.rb