test/tc_videoextractor.rb in filentory-cli-0.3.0 vs test/tc_videoextractor.rb in filentory-cli-0.3.1
- old
+ new
@@ -1,10 +1,11 @@
-require 'test/unit'
+require File.expand_path '../test_helper.rb', __FILE__
+require 'minitest/autorun'
require 'pathname'
require 'filentory/videoextractor'
-class TestVideoExtractor < Test::Unit::TestCase
+class TestVideoExtractor < Minitest::Test
def test_can_extract_metadata
extractor = VideoExtractor.new
metadata = extractor.metadata_for_file(File.dirname(__FILE__)+"/integration/data/video.mov")
@@ -17,6 +18,6 @@
end
def test_can_not_handle_jpg
assert(!VideoExtractor.handles?(".jpg"), "VideoExtractor should responde false for .jpg")
end
-end
\ No newline at end of file
+end