diff --git a/test/models/site/repository_test.rb b/test/models/site/repository_test.rb index 52f7c79..6328a0d 100644 --- a/test/models/site/repository_test.rb +++ b/test/models/site/repository_test.rb @@ -40,8 +40,10 @@ class RepositoryTest < ActiveSupport::TestCase assert_equal random_branch, @site.repository.default_branch end + # XXX: En realidad el git-reset no elimina la caché de fetch entonces + # nunca tenemos valores mayores a cero. test 'se pueden traer cambios' do - assert @site.repository.fetch.is_a?(Integer) + assert @site.repository.fetch.zero? end test 'se pueden mergear los cambios' do