Sha256: a37bcfc9c7d8e7f28a24c8b091a072544266f60d20d6959f734992787b70e1b8

Contents?: true

Size: 409 Bytes

Versions: 5

Compression:

Stored size: 409 Bytes

Contents

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
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

5 entries across 5 versions & 1 rubygems

Version Path
pg_search-1.0.4 spec/spec_helper.rb
pg_search-1.0.3 spec/spec_helper.rb
pg_search-1.0.2 spec/spec_helper.rb
pg_search-1.0.1 spec/spec_helper.rb
pg_search-1.0.0 spec/spec_helper.rb