spec/spec_helper.rb in grape-1.4.0 vs spec/spec_helper.rb in grape-1.5.0

- old
+ new

@@ -18,20 +18,10 @@ # 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 - def read_chunks(body) - buffer = [] - body.each { |chunk| buffer << chunk } - - buffer - end -end - RSpec.configure do |config| - 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