Sha256: f520757cad989760b47f495728fdfbe7a1f7901e03f0fe13858396a9c11b2e00

Contents?: true

Size: 433 Bytes

Versions: 4

Compression:

Stored size: 433 Bytes

Contents

require_relative "../test_helper"

ActiveRecord::Base.establish_connection adapter: "postgresql", database: "ahoy_test"

ActiveRecord::Migration.create_table :postgresql_jsonb_events, force: true do |t|
  t.jsonb :properties
  t.index :properties, using: 'gin'
end

class PostgresqlJsonbEvent < PostgresqlBase
end

class PostgresqlJsonbTest < Minitest::Test
  include QueryMethodsTest

  def model
    PostgresqlJsonbEvent
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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