Sha256: 04a1aea144cc0f3dfe8e4f0473a53088ae7509ea5078d6c564e91986e680fc7e

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

require 'coveralls'
Coveralls.wear!

require 'simplecov'
require 'simplecov-rcov'

SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
SimpleCov.start 'rails'

# 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

2 entries across 2 versions & 1 rubygems

Version Path
ex_cite-1.0.1 test/test_helper.rb
ex_cite-1.0.0 test/test_helper.rb