spec/spec_helper.rb in grape-1.1.0 vs spec/spec_helper.rb in grape-1.2.0
- old
+ new
@@ -10,10 +10,12 @@
Dir["#{File.dirname(__FILE__)}/support/*.rb"].each do |file|
require file
end
-I18n.enforce_available_locales = false
+# The default value for this setting is true in a standard Rails app,
+# so it should be set to true here as well to reflect that.
+I18n.enforce_available_locales = true
RSpec.configure do |config|
config.include Rack::Test::Methods
config.include Spec::Support::Helpers
config.raise_errors_for_deprecations!