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

Version Path
active-fedora-3.3.2 spec/spec_helper.rb
active-fedora-3.3.1 spec/spec_helper.rb
active-fedora-3.3.0 spec/spec_helper.rb
active-fedora-3.2.2 spec/spec_helper.rb
active-fedora-3.2.0 spec/spec_helper.rb
active-fedora-3.2.0.pre7 spec/spec_helper.rb
active-fedora-3.2.0.pre6 spec/spec_helper.rb
active-fedora-3.2.0.pre5 spec/spec_helper.rb
active-fedora-3.2.0.pre4 spec/spec_helper.rb
active-fedora-3.2.0.pre3 spec/spec_helper.rb