summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_cvs_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/repository_cvs_test.rb')
-rw-r--r--test/unit/repository_cvs_test.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb
index c7041bede..5892215de 100644
--- a/test/unit/repository_cvs_test.rb
+++ b/test/unit/repository_cvs_test.rb
@@ -102,13 +102,19 @@ class RepositoryCvsTest < ActiveSupport::TestCase
assert_equal entries[2].lastrev.author, 'LANG'
end
- def test_entries_invalid
+ def test_entries_invalid_path
@repository.fetch_changesets
@repository.reload
assert_nil @repository.entries('missing')
assert_nil @repository.entries('missing', '3')
end
+ def test_entries_invalid_revision
+ @repository.fetch_changesets
+ @repository.reload
+ assert_nil @repository.entries('', '123')
+ end
+
def test_cat
@repository.fetch_changesets
@repository.reload