Sha256: 2887d98280cc93b1691f674aafa5329e14901c4b7570cf6f06ba630e8b7646d4
Contents?: true
Size: 652 Bytes
Versions: 9
Compression:
Stored size: 652 Bytes
Contents
ENV["environment"] ||= 'test' require 'active-fedora' require 'spec' logger.level = Logger::WARN if logger.respond_to? :level ###MediaShelf StubLogger doesn't have a level= method $:.unshift(File.dirname(__FILE__) + '/../lib') $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")) Spec::Runner.configure do |config| config.mock_with :mocha end def fixture(file) File.new(File.join(File.dirname(__FILE__), 'fixtures', file)) end
Version data entries
9 entries across 9 versions & 1 rubygems