test/tc_sender.rb in filentory-cli-0.3.0 vs test/tc_sender.rb in filentory-cli-0.3.1
- old
+ new
@@ -1,11 +1,12 @@
-require 'test/unit'
+require File.expand_path '../test_helper.rb', __FILE__
+require 'minitest/autorun'
require 'uri'
require 'fakeweb'
require 'filentory/sender'
-class TestSender < Test::Unit::TestCase
+class TestSender < Minitest::Test
def setup
end
def teardown
@@ -90,6 +91,6 @@
def prepare_fail(url, status_code, response, body)
FakeWeb.register_uri(:post, url, :body => "Nothing to be found 'round here",
:status => [status_code.to_s, response])
url
end
-end
\ No newline at end of file
+end