Sha256: 752051231478cc1677ef850f1b9d6819d434571b1216a58bdce1750013656c6c
Contents?: true
Size: 497 Bytes
Versions: 2
Compression:
Stored size: 497 Bytes
Contents
require "test_helper" class TestPostgresql < Minitest::Unit::TestCase include TestGroupdate def setup super User.establish_connection :adapter => "postgresql", :database => "groupdate_test" end def time_key(key) if ActiveRecord::VERSION::MAJOR == 3 key.utc.strftime("%Y-%m-%d %H:%M:%S+00") else key end end def number_key(key) if RUBY_PLATFORM != "java" and ActiveRecord::VERSION::MAJOR == 3 key.to_s else key end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
groupdate-1.0.5 | test/postgresql_test.rb |
groupdate-1.0.4 | test/postgresql_test.rb |