spec/spec_helper.rb in grape-0.6.1 vs spec/spec_helper.rb in grape-0.7.0
- old
+ new
@@ -2,12 +2,10 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'support'))
require 'grape'
-# require 'grape-entity'
-
require 'rubygems'
require 'bundler'
Bundler.setup :default, :test
require 'rack/test'
@@ -17,9 +15,11 @@
require 'json'
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
end