class Mysql2JSONTest

Public Instance Methods

setup() click to toggle source
Calls superclass method JSONSharedTestCases#setup
# File activerecord/test/cases/adapters/mysql2/json_test.rb, line 11
def setup
  super
  @connection.create_table("json_data_type") do |t|
    t.json "payload"
    t.json "settings"
  end
end

Private Instance Methods

column_type() click to toggle source
# File activerecord/test/cases/adapters/mysql2/json_test.rb, line 20
def column_type
  :json
end