diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-12-29 13:48:52 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-12-29 13:48:52 +0000 |
commit | 9cefc90b0be4cc14d364d4c4631a6f8b944a6a58 (patch) | |
tree | 56146b19e2aa6d01b5904b9eff11447e1084de51 /test/unit/repository_darcs_test.rb | |
parent | e9470e55857afa61f8e780b0e946f63dd0b25f86 (diff) | |
download | redmine-9cefc90b0be4cc14d364d4c4631a6f8b944a6a58.tar.gz redmine-9cefc90b0be4cc14d364d4c4631a6f8b944a6a58.zip |
Rails4: scm: reload repository after destroying changesets in incremental fetch test
git-svn-id: http://svn.redmine.org/redmine/trunk@12472 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_darcs_test.rb')
-rw-r--r-- | test/unit/repository_darcs_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/repository_darcs_test.rb b/test/unit/repository_darcs_test.rb index 5e51dcccc..7a7b402f5 100644 --- a/test/unit/repository_darcs_test.rb +++ b/test/unit/repository_darcs_test.rb @@ -81,6 +81,7 @@ class RepositoryDarcsTest < ActiveSupport::TestCase # Remove changesets with revision > 3 @repository.changesets.all.each {|c| c.destroy if c.revision.to_i > 3} @project.reload + @repository.reload assert_equal 3, @repository.changesets.count @repository.fetch_changesets |