Sha256: 30f6bf3fc82fcd9d51377c82da335a66f985ed52d5a8050702c2a38f438e3f9c

Contents?: true

Size: 546 Bytes

Versions: 2

Compression:

Stored size: 546 Bytes

Contents

require "codeclimate-test-reporter"
CodeClimate::TestReporter.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

2 entries across 2 versions & 1 rubygems

Version Path
pg_search-1.0.6 spec/spec_helper.rb
pg_search-1.0.5 spec/spec_helper.rb