Sha256: e0f7308c075343fc9aac42f8ed2edfbdea0f8e94041cc6d79e4fbcf0719a7ba8

Contents?: true

Size: 1.04 KB

Versions: 15

Compression:

Stored size: 1.04 KB

Contents

unless ENV['TRAVIS']
  require 'simplecov'
  require 'simplecov-rcov'
  SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
  SimpleCov.start 'rails'
else
  require 'coveralls'
  Coveralls.wear!
end

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"


Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Load fixtures from the engine
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
end

$formats ||= Hash[
              :csf => "itemType: book",
              :ris => "TY  -  JOUR\nER  -\n\n",
              :openurl => "https://getit.library.nyu.edu/resolve?rft_val_fmt=info:ofi/fmt:kev:mtx:book",
              :bibtex => "@article{Adams2001\n}",
              :pnx => "<display><type>book</type></display>"
  ]
  
$acts_as_citable_classes = ["ExCite::Citation", "TypeOne"]

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ex_cite-2.1.0 test/test_helper.rb
ex_cite-2.0.0 test/test_helper.rb
ex_cite-2.0.0.pre.alpha.1 test/test_helper.rb
ex_cite-2.0.0.pre.alpha test/test_helper.rb
ex_cite-1.3.2 test/test_helper.rb
ex_cite-1.3.1 test/test_helper.rb
ex_cite-1.3.0 test/test_helper.rb
ex_cite-1.2.7 test/test_helper.rb
ex_cite-1.2.6 test/test_helper.rb
ex_cite-1.2.5 test/test_helper.rb
ex_cite-1.2.4 test/test_helper.rb
ex_cite-1.2.3 test/test_helper.rb
ex_cite-1.2.2 test/test_helper.rb
ex_cite-1.2.1 test/test_helper.rb
ex_cite-1.1.0 test/test_helper.rb