Sha256: d332920313ede941a93c66ce5427fc3822d7757aef9d8e7984ba452370ee8eb9

Contents?: true

Size: 567 Bytes

Versions: 3

Compression:

Stored size: 567 Bytes

Contents

$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 'grape'

require 'rubygems'
require 'bundler'
Bundler.require :default, :test

Dir["#{File.dirname(__FILE__)}/support/*.rb"].each do |file|
  require file
end

I18n.enforce_available_locales = false

RSpec.configure do |config|
  config.include Rack::Test::Methods
  config.raise_errors_for_deprecations!

  config.before(:each) { Grape::Util::InheritableSetting.reset_global! }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grape-0.19.0 spec/spec_helper.rb
grape-0.18.0 spec/spec_helper.rb
grape-0.17.0 spec/spec_helper.rb