Sha256: 1ac9ad5ab69c9d7f2c9076d469fc6ace2daca41a5348ea3a8c20f90ead3cfb89

Contents?: true

Size: 811 Bytes

Versions: 4

Compression:

Stored size: 811 Bytes

Contents

# frozen_string_literal: true

require 'simplecov'
require 'coveralls'

# This works around the hash extensions not being automatically included in ActiveSupport < 4
require 'active_support/version'
require 'active_support/core_ext/hash' if ActiveSupport::VERSION &&
                                          ActiveSupport::VERSION::MAJOR &&
                                          ActiveSupport::VERSION::MAJOR < 4

SimpleCov.start do
  add_filter 'spec/'
end

Coveralls.wear! unless RUBY_PLATFORM.eql? 'java'

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

require 'rubygems'
require 'bundler'

Bundler.require :default, :test

RSpec.configure(&:raise_errors_for_deprecations!)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grape-entity-0.10.1 spec/spec_helper.rb
grape-entity-0.10.0 spec/spec_helper.rb
grape-entity-0.9.0 spec/spec_helper.rb
grape-entity-0.8.2 spec/spec_helper.rb