test/unit/source_control_test.rb in churn-1.0.1 vs test/unit/source_control_test.rb in churn-1.0.2

- old
+ new

@@ -1,9 +1,9 @@ require File.expand_path('../test_helper', File.dirname(__FILE__)) -class SourceControlTest < Test::Unit::TestCase - +class SourceControlTest < Minitest::Test + should "get_updated_files_from_log if revision and previous revision" do sc = Churn::SourceControl.new(Date.today) current = 'current' revisions = ['future',current,'past'] def sc.get_diff(revision, previous_revision) @@ -16,7 +16,7 @@ sc = Churn::SourceControl.new(Date.today) current = 'current' revisions = ['future',current] assert_equal [], sc.get_updated_files_from_log(current,revisions) end - + end