From: Michael Orlitzky Date: Mon, 9 Nov 2015 01:15:25 +0000 (-0500) Subject: Fix warnings with newer minitest versions. X-Git-Tag: 0.0.1 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=e1fc901b2c2c6dd30a72a80ca5ae1600b6338a8b;p=mailshears.git Fix warnings with newer minitest versions. --- diff --git a/test/mailshears_test.rb b/test/mailshears_test.rb index e46ca11..865bd4a 100644 --- a/test/mailshears_test.rb +++ b/test/mailshears_test.rb @@ -1,9 +1,9 @@ require 'common/configuration' require 'fileutils' -require 'minitest/unit' +require 'minitest/autorun' require 'pg' -class MailshearsTest < MiniTest::Unit::TestCase +class MailshearsTest < MiniTest::Test # This is that class that most (if not all) of our test cases will # inherit. It provides the automatic setup and teardown of the # filesystem and database that the test cases will exercise. diff --git a/test/test_mv.rb b/test/test_mv.rb index 7ded820..968782b 100644 --- a/test/test_mv.rb +++ b/test/test_mv.rb @@ -3,7 +3,6 @@ require 'common/domain' require 'common/user' require 'mailshears_test' -require 'minitest/autorun' require 'mv/plugins/agendav' require 'mv/plugins/davical' require 'mv/plugins/dovecot' diff --git a/test/test_prune.rb b/test/test_prune.rb index 35c1a5c..059de52 100644 --- a/test/test_prune.rb +++ b/test/test_prune.rb @@ -3,7 +3,6 @@ require 'common/domain' require 'common/user' require 'mailshears_test' -require 'minitest/autorun' require 'prune/plugins/agendav' require 'prune/plugins/davical' require 'prune/plugins/dovecot' diff --git a/test/test_rm.rb b/test/test_rm.rb index 210ca5d..24dacc3 100644 --- a/test/test_rm.rb +++ b/test/test_rm.rb @@ -3,7 +3,6 @@ require 'common/domain' require 'common/user' require 'mailshears_test' -require 'minitest/autorun' require 'rm/plugins/agendav' require 'rm/plugins/davical' require 'rm/plugins/dovecot'