##// END OF EJS Templates
scm: darcs: add entries test in invalid revision in model....
Toshi MARUYAMA -
r5315:20b33942bad7
parent child
Show More
@@ -52,6 +52,12 class RepositoryDarcsTest < ActiveSupport::TestCase
52 assert_equal 6, @repository.changesets.count
52 assert_equal 6, @repository.changesets.count
53 end
53 end
54
54
55 def test_entries_invalid_revision
56 @repository.fetch_changesets
57 @repository.reload
58 assert_nil @repository.entries('', '123')
59 end
60
55 def test_deleted_files_should_not_be_listed
61 def test_deleted_files_should_not_be_listed
56 @repository.fetch_changesets
62 @repository.fetch_changesets
57 @repository.reload
63 @repository.reload
General Comments 0
You need to be logged in to leave comments. Login now