Skip to content

Commit ca704c8

Browse files
committed
testCheckSkinPhasesIn
1 parent c45632d commit ca704c8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Toplo-Tests/ToSpaceSkinPhasesManagerTest.class.st

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,15 @@ ToSpaceSkinPhasesManagerTest >> testCheckSkinPhasesIn [
4141
space allowSkinPhases: false.
4242
self deny: space skinPhasesManager isSkinPhasesInstallationPostponed.
4343
space show.
44-
space when: BlSpaceShownEvent do: [ :event |
45-
space checkSkinPhases.
44+
space when: BlSpaceShownEvent do: [ :event | | theSpace |
45+
theSpace := event currentTarget.
46+
theSpace checkSkinPhases.
4647
" since skin phases are not allowed "
47-
self deny: space skinPhasesManager skinPhasesInstalled.
48+
self deny: theSpace skinPhasesManager skinPhasesInstalled.
4849
" now allow skin phases "
49-
space allowSkinPhases: true.
50+
theSpace allowSkinPhases: true.
5051
" since skin phases are allowed and the space is opened "
51-
self assert: space skinPhasesManager skinPhasesInstalled ].
52+
self assert: theSpace skinPhasesManager skinPhasesInstalled ].
5253

5354

5455

0 commit comments

Comments
 (0)