Sha256: 60bcc414ebf13744271f16a399a971535b18d3c47eece2430811b28ca1a65c46
Contents?: true
Size: 607 Bytes
Versions: 3
Compression:
Stored size: 607 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'solrizer/fedora' require 'rspec' require 'solrizer' # 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solrizer-fedora-2.0.0 | spec/spec_helper.rb |
solrizer-fedora-2.0.0.rc2 | spec/spec_helper.rb |
solrizer-fedora-2.0.0.rc1 | spec/spec_helper.rb |