Sha256: 2da792d2feb1c74dee01c98dc66b1bf98d881d042d18187f1aa560687866a3ea

Contents?: true

Size: 674 Bytes

Versions: 5

Compression:

Stored size: 674 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.setup :default, :test

require 'json'
require 'rack/test'
require 'base64'
require 'cookiejar'
require 'json'
require 'mime/types'

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

5 entries across 5 versions & 1 rubygems

Version Path
grape-0.13.0 spec/spec_helper.rb
grape-0.12.0 spec/spec_helper.rb
grape-0.11.0 spec/spec_helper.rb
grape-0.10.1 spec/spec_helper.rb
grape-0.10.0 spec/spec_helper.rb