scm: darcs: add entries test in invalid revision in model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5435 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
cad14abea7
commit
20b33942ba
|
@ -52,6 +52,12 @@ class RepositoryDarcsTest < ActiveSupport::TestCase
|
||||||
assert_equal 6, @repository.changesets.count
|
assert_equal 6, @repository.changesets.count
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_entries_invalid_revision
|
||||||
|
@repository.fetch_changesets
|
||||||
|
@repository.reload
|
||||||
|
assert_nil @repository.entries('', '123')
|
||||||
|
end
|
||||||
|
|
||||||
def test_deleted_files_should_not_be_listed
|
def test_deleted_files_should_not_be_listed
|
||||||
@repository.fetch_changesets
|
@repository.fetch_changesets
|
||||||
@repository.reload
|
@repository.reload
|
||||||
|
|
Loading…
Reference in New Issue