Sha256: ace9af50fd6469150b9fb06334348da7f93e94f85970190985c097d22c2d9350
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
require File.dirname(__FILE__) + '/shared' class TestTokyo < Test::Unit::TestCase context "An empty database" do setup do @storage = Metry::Storage.new('test') @storage.clear end should "be empty" do assert_equal 0, @storage.event_count end should "handle object ids" do v = @storage.new_visitor assert_equal v, @storage.visitor(v['_id'].to_s) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
metry-2.0.1 | test/test_storage.rb |
metry-2.0.2 | test/test_storage.rb |