Sha256: 9d9def383787a1e95958927859be3a73618a1f2af9b1201be52d403bcd66871d

Contents?: true

Size: 539 Bytes

Versions: 6

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

require 'simplecov'
SimpleCov.start

require "bundler/setup"
require "pg_search"

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.mock_with :rspec do |c|
    c.syntax = :expect
  end

  config.example_status_persistence_file_path = 'tmp/examples.txt'
end

require 'support/database'
require 'support/with_model'

DOCUMENTS_SCHEMA = lambda do |t|
  t.belongs_to :searchable, polymorphic: true, index: true
  t.text :content
  t.timestamps null: false
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pg_search-2.3.1 spec/spec_helper.rb
pg_search-2.3.0 spec/spec_helper.rb
pg_search-2.2.0 spec/spec_helper.rb
pg_search-2.1.7 spec/spec_helper.rb
pg_search-2.1.6 spec/spec_helper.rb
pg_search-2.1.5 spec/spec_helper.rb