Sha256: 65a2ca86335b553194473effa087475956f51f84acb6cba2333b13ee5c631f82
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
require_relative "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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
groupdate-2.0.3 | test/postgresql_test.rb |
groupdate-2.0.2 | test/postgresql_test.rb |
groupdate-2.0.1 | test/postgresql_test.rb |
groupdate-2.0.0 | test/postgresql_test.rb |