Sha256: 4dd43d527ea717f36803648337bffea462004d9bba8377523c8f44ccfd0d2d95

Contents?: true

Size: 673 Bytes

Versions: 3

Compression:

Stored size: 673 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 'mime/types'
require 'cgi'

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.16.2 spec/spec_helper.rb
grape-0.16.1 spec/spec_helper.rb
grape-0.15.0 spec/spec_helper.rb