Sha256: 70524e06960d6b48ea179b14b5b8c16217dc8eb9aeda9fec6cac1c826485a251
Contents?: true
Size: 731 Bytes
Versions: 10
Compression:
Stored size: 731 Bytes
Contents
ENV["environment"] ||= 'test' require "bundler/setup" require 'active-fedora' require 'rspec' require 'equivalent-xml/rspec_matchers' require 'support/mock_fedora' logger.level = Logger::WARN if logger.respond_to? :level ###MediaShelf StubLogger doesn't have a level= method $VERBOSE=nil # This loads the Fedora and Solr config info from /config/fedora.yml # You can load it from a different location by passing a file path as an argument. ActiveFedora.init(:fedora_config_path=>File.join(File.dirname(__FILE__), "..", "config", "fedora.yml")) RSpec.configure do |config| config.mock_with :mocha config.color_enabled = true end def fixture(file) File.open(File.join(File.dirname(__FILE__), 'fixtures', file), 'rb') end
Version data entries
10 entries across 10 versions & 1 rubygems