Sha256: 7594c76a13021ef5dbf4db6fc2fc12ae53363c276be913ea0e6c08f095e4b585

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 Bytes

Contents

require "test_helper"

class TestMysql < Minitest::Test
  include TestGroupdate

  def setup
    User.establish_connection :adapter => "mysql2", :database => "groupdate_test", :username => "root"
  end

  def time_key(key)
    if RUBY_PLATFORM == "java"
      key.utc.strftime("%Y-%m-%d %H:%M:%S").gsub(/ 00\:00\:00\z/, "")
    else
      key
    end
  end

  def number_key(key)
    key
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
groupdate-1.0.3 test/mysql_test.rb
groupdate-1.0.2 test/mysql_test.rb
groupdate-1.0.1 test/mysql_test.rb