Sha256: 4935695384745e44543b1531f3c8b4fdc8947435a0da1af22f114caedba872ed
Contents?: true
Size: 668 Bytes
Versions: 1
Compression:
Stored size: 668 Bytes
Contents
require 'memcache_server_test_helper' require 'memcache/pg_server' class MemcachePGServerTest < Test::Unit::TestCase ActiveRecord::Base.establish_connection( :adapter => "postgresql", :host => "localhost", :username => `whoami`.chomp, :password => "", :database => "memcache_test" ) ActiveRecord::Migration.verbose = false ActiveRecord::Base.connection.client_min_messages = 'panic' include MemcacheServerTestHelper def setup Memcache::Migration.table = 'memcache_test' Memcache::Migration.up @memcache = Memcache::PGServer.new(:table => 'memcache_test') end def teardown Memcache::Migration.down end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
memcache-1.3.0 | test/memcache_pg_server_test.rb |