Sha256: 48f202feacf41a63e1992872a60a8392355893af64d0fa51957ceeed7e4b9595

Contents?: true

Size: 411 Bytes

Versions: 4

Compression:

Stored size: 411 Bytes

Contents

require_relative "../test_helper"

ActiveRecord::Base.establish_connection adapter: "mysql2", username: "root", database: "ahoy_test"

ActiveRecord::Migration.create_table :mysql_text_events, force: true do |t|
  t.text :properties
end

class MysqlTextEvent < MysqlBase
  serialize :properties, JSON
end

class MysqlTextTest < Minitest::Test
  include QueryMethodsTest

  def model
    MysqlTextEvent
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ahoy_matey-2.1.0 test/query_methods/mysql_text_test.rb
ahoy_matey-2.0.2 test/query_methods/mysql_text_test.rb
ahoy_matey-2.0.1 test/query_methods/mysql_text_test.rb
ahoy_matey-2.0.0 test/query_methods/mysql_text_test.rb