Sha256: 3245d76b3b371adca78f70bb3a0266be8c8bf50bebf74abc73ea71e1a8f3ea07
Contents?: true
Size: 701 Bytes
Versions: 4
Compression:
Stored size: 701 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 end def fixture(file) File.open(File.join(File.dirname(__FILE__), 'fixtures', file), 'rb') end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
active-fedora-3.1.6 | spec/spec_helper.rb |
active-fedora-3.2.0.pre2 | spec/spec_helper.rb |
active-fedora-3.2.0.pre1 | spec/spec_helper.rb |
active-fedora-3.1.5 | spec/spec_helper.rb |