Sha256: 6b5c4793bed7f5d1c05b23f6e4b458a621542c80413ce41910c434637576011b
Contents?: true
Size: 757 Bytes
Versions: 8
Compression:
Stored size: 757 Bytes
Contents
ENV["environment"] ||= 'test' require "bundler/setup" require 'active-fedora' require 'rspec' require 'equivalent-xml/rspec_matchers' require 'support/mock_fedora' require 'samples/samples' 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
8 entries across 8 versions & 1 rubygems