Sha256: 6c630cb92cb6f92b0022d094e9ed296af518c2799052e5ce05a7637e8ce196fd

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'solrizer/fedora'
require 'solrizer'
require 'rspec'


# this allows us to unload constants for testing
module Kernel
  # Suppresses warnings within a given block.
  def with_warnings_suppressed
    saved_verbosity = $-v
    $-v = nil
    yield
  ensure
    $-v = saved_verbosity
  end
end


RSpec.configure do |config|
  
  config.mock_with :mocha
  config.color_enabled = true
  
  def fixture(file)
    File.new(File.join(File.dirname(__FILE__), 'fixtures', file))
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solrizer-fedora-2.1.0 spec/spec_helper.rb