Sha256: 21016d1ae15ece0c1c9c030247b4f99462e907c17fb24c658366d3418e36de57

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'
require 'active-fedora'
require 'spec'

$:.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(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

2 entries across 2 versions & 1 rubygems

Version Path
active-fedora-3.1.0.pre2 spec/spec_helper.rb
active-fedora-3.1.0.pre1 spec/spec_helper.rb