From d3174c6e3f2c6dbb2ccb355bab82e895cab3bc1a Mon Sep 17 00:00:00 2001 From: f Date: Fri, 16 Apr 2021 10:29:17 -0300 Subject: [PATCH] arreglar un test --- test/models/site/repository_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/models/site/repository_test.rb b/test/models/site/repository_test.rb index 52f7c798..6328a0d3 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