Migrating to a new development image.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2017-11-28 21:20:57 +00:00
parent c18bf5aa06
commit e26ce5cb89
2 changed files with 25 additions and 1 deletions

View File

@ -170,7 +170,7 @@ GrafoscopioDocumentation >> update [
self inform: 'All documents in the ', self name,' collection are already updated'.
^ self ]
ifNotEmpty: [:outdatedDocs |
outdatedDocs do: [ :eachDoc | self download: eachDoc].
outdatedDocs do: [ :eachDoc | self download: eachDoc ].
self inform: 'Updating of ', self name,' documentation finished.' ]
]

View File

@ -0,0 +1,24 @@
"
A GrafoscopioDocumentationTest is a test class for testing the behavior of GrafoscopioDocumentation
"
Class {
#name : #GrafoscopioDocumentationTest,
#superclass : #TestCase,
#category : #'Grafoscopio-Utils-Tests'
}
{ #category : #'tests-utility' }
GrafoscopioDocumentationTest >> defaultTestRepo [
"I create a default documentation repository, that is used for several test."
| testRepo |
testRepo := GrafoscopioDocumentation new.
testRepo repository: (FossilRepo new remote: 'http://mutabit.com/repos.fossil/grafoscopio');
localPlace: FileLocator temp asFileReference /'Grafoscopio';
name: 'test Repo'.
testRepo
addDocument: 'Docs/Es/Tutoriales/tutorial.ston';
addDocument: 'Docs/En/Books/Manual/manual.ston';
addDocument: 'Docs/En/Books/DataActivism/techniques-for-datactivism.ston'.
^ testRepo
]