summaryrefslogtreecommitdiff
path: root/test/spec_utils.rb
diff options
context:
space:
mode:
authorNikolay Rys <nikolay@rys.me>2019-10-06 18:26:02 +0200
committerNikolay Rys <nikolay@rys.me>2019-10-06 18:26:02 +0200
commite5d105be783a9c9a54be0aa6129a2dc896fb9840 (patch)
treecab693c9800308d0408dbd5f31945466d5b917a0 /test/spec_utils.rb
parenta36ceb60911b826ce8e227056d1699d04ed05dda (diff)
downloadrack-e5d105be783a9c9a54be0aa6129a2dc896fb9840.tar.gz
Allow global expectation explicitly for minitest.
Global expectations have been deprecated in minitest and will start fail in the upcoming major release. Right now it results in multiple warnings. We need to allow them explicitly. Also fixing spacing style in gemspec.
Diffstat (limited to 'test/spec_utils.rb')
-rw-r--r--test/spec_utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_utils.rb b/test/spec_utils.rb
index 2089ee2c..6210fd73 100644
--- a/test/spec_utils.rb
+++ b/test/spec_utils.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require 'minitest/autorun'
+require 'minitest/global_expectations/autorun'
require 'rack/utils'
require 'rack/mock'
require 'timeout'