Sha256: f49daf4b140caf2669c1e1e62fa632b03370374cabdfb04b2744f24baacee40c
Contents?: true
Size: 560 Bytes
Versions: 8
Compression:
Stored size: 560 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'rspec' require 'scoped_search' module ScopedSearch::RSpec; end require "#{File.dirname(__FILE__)}/lib/matchers" require "#{File.dirname(__FILE__)}/lib/database" require "#{File.dirname(__FILE__)}/lib/mocks" def on_postgresql? ActiveRecord::Base.connection.adapter_name == 'PostgreSQL' end RSpec.configure do |config| config.include ScopedSearch::RSpec::Mocks config.expect_with :rspec do |c| c.syntax = :should end config.mock_with :rspec do |mocks| mocks.syntax = :should end end
Version data entries
8 entries across 8 versions & 1 rubygems