spec/spec_helper.rb in grape-1.3.0 vs spec/spec_helper.rb in grape-1.3.1

- old
+ new

@@ -12,10 +12,12 @@ Dir["#{File.dirname(__FILE__)}/support/*.rb"].each do |file| require file end +eager_load! + # 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 module Chunks @@ -31,9 +33,10 @@ config.include Chunks config.include Rack::Test::Methods config.include Spec::Support::Helpers config.raise_errors_for_deprecations! config.filter_run_when_matching :focus + config.warnings = true config.before(:each) { Grape::Util::InheritableSetting.reset_global! } # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = '.rspec_status'