aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-10-29 15:09:21 -0700
committerelijah <elijah@riseup.net>2014-10-29 15:09:21 -0700
commitca9b0cacc3800541ae617d56222f88959cd0369e (patch)
tree879704c2cb5c68b4786034c4134a2204cab632f3
parent6a3080477e579490e2936eabcd3a159d96da9996 (diff)
downloadleap_cli-ca9b0cacc3800541ae617d56222f88959cd0369e.tar.gz
leap_cli-ca9b0cacc3800541ae617d56222f88959cd0369e.tar.bz2
remove minitest deprecation notices when running tests
-rw-r--r--test/test_helper.rb2
-rw-r--r--test/unit/command_line_test.rb2
-rw-r--r--test/unit/config_object_list_test.rb2
-rw-r--r--test/unit/config_object_test.rb2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index b631c23..ee687a9 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -4,7 +4,7 @@ require 'bundler/setup'
require 'minitest/autorun'
require 'leap_cli'
-class MiniTest::Unit::TestCase
+class Minitest::Test
attr_accessor :ruby_path
# Add global extensions to the test case class here
diff --git a/test/unit/command_line_test.rb b/test/unit/command_line_test.rb
index 4f8333a..2aaf1c1 100644
--- a/test/unit/command_line_test.rb
+++ b/test/unit/command_line_test.rb
@@ -1,6 +1,6 @@
require File.expand_path('../test_helper', __FILE__)
-class CommandLineTest < MiniTest::Unit::TestCase
+class CommandLineTest < Minitest::Test
def test_help
with_multiple_rubies do
diff --git a/test/unit/config_object_list_test.rb b/test/unit/config_object_list_test.rb
index d38f441..a0ee3fc 100644
--- a/test/unit/config_object_list_test.rb
+++ b/test/unit/config_object_list_test.rb
@@ -1,6 +1,6 @@
require File.expand_path('../test_helper', __FILE__)
-class ConfigObjectListTest < MiniTest::Unit::TestCase
+class ConfigObjectListTest < Minitest::Test
def test_node_search
nodes = manager.nodes['name' => 'vpn1']
diff --git a/test/unit/config_object_test.rb b/test/unit/config_object_test.rb
index b50318a..54b45d1 100644
--- a/test/unit/config_object_test.rb
+++ b/test/unit/config_object_test.rb
@@ -1,6 +1,6 @@
require File.expand_path('../test_helper', __FILE__)
-class ConfigObjectTest < MiniTest::Unit::TestCase
+class ConfigObjectTest < Minitest::Test
def test_bracket_lookup
domain = provider.domain