test/unit/svn_analyzer_test.rb in churn-1.0.1 vs test/unit/svn_analyzer_test.rb in churn-1.0.2
- old
+ new
@@ -1,9 +1,9 @@
require File.expand_path('../test_helper', File.dirname(__FILE__))
-class SvnAnalyzerTest < Test::Unit::TestCase
-
+class SvnAnalyzerTest < Minitest::Test
+
should "parses logs correctly" do
svn_analyzer = Churn::SvnAnalyzer.new
revision = 'first'
revisions = ['first']
lines = ["--- a/lib/churn/churn_calculator.rb", "+++ b/lib/churn/churn_calculator.rb", "@@ -18,0 +19 @@ module Churn"]
@@ -59,7 +59,7 @@
A /trunk/test.txt
Initial import of project1
------------------------------------------------------------------------"
end
-
+
end