diff options
-rw-r--r-- | test/unit/repository_darcs_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/repository_darcs_test.rb b/test/unit/repository_darcs_test.rb index f3f04a110..ef7224d9a 100644 --- a/test/unit/repository_darcs_test.rb +++ b/test/unit/repository_darcs_test.rb @@ -61,8 +61,10 @@ class RepositoryDarcsTest < ActiveSupport::TestCase end def test_entries_invalid_revision + assert_equal 0, @repository.changesets.count @repository.fetch_changesets - @repository.reload + @project.reload + assert_equal NUM_REV, @repository.changesets.count assert_nil @repository.entries('', '123') end |