Sha256: 8179e922f3373d6d06f5bee07b446a2d7eba2fb63b50c5f4cb1a46287233af11

Contents?: true

Size: 693 Bytes

Versions: 6

Compression:

Stored size: 693 Bytes

Contents

ENV["environment"] ||= 'test'
require 'active-fedora'
require 'spec'
require 'equivalent-xml/rspec_matchers'


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

6 entries across 6 versions & 1 rubygems

Version Path
active-fedora-3.1.0.rc3 spec/spec_helper.rb
active-fedora-3.1.0.rc2 spec/spec_helper.rb
active-fedora-3.1.0.rc1 spec/spec_helper.rb
active-fedora-3.1.0.pre14 spec/spec_helper.rb
active-fedora-3.1.0.pre13 spec/spec_helper.rb
active-fedora-3.1.0.pre12 spec/spec_helper.rb