Sha256: 8d6fa80dfb277482b33d2477219d632e1e846865730dfe47c1528673c291f9f1

Contents?: true

Size: 799 Bytes

Versions: 5

Compression:

Stored size: 799 Bytes

Contents

begin
  require 'simplecov'
  require 'coveralls' if ENV['CI']
rescue LoadError
  # ignore
end

begin
  case
  when RUBY_PLATFORM == 'java'
    # require 'debug'
    # Debugger.start
  when defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
    require 'rubinius/debugger'
  when RUBY_VERSION < '2.0'
    require 'debugger'
  else
    require 'byebug'
  end
rescue LoadError
  # ignore
end

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$:.unshift(File.dirname(__FILE__))

require 'tempfile'

require 'rspec'
require 'citeproc'
require 'citeproc/ruby'

require 'csl'
require 'csl/styles'

module Fixtures
	PATH = File.expand_path('../fixtures', __FILE__)

	Dir[File.join(PATH, '*.rb')].each do |fixture|
		require fixture
	end
end

RSpec.configure do |config|
  config.include(Fixtures)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
citeproc-1.0.6 spec/spec_helper.rb
citeproc-1.0.5 spec/spec_helper.rb
citeproc-1.0.4 spec/spec_helper.rb
citeproc-1.0.3 spec/spec_helper.rb
citeproc-1.0.2 spec/spec_helper.rb