Skip to content

Commit

Permalink
add assertion to poll draft test
Browse files Browse the repository at this point in the history
  • Loading branch information
vlindow authored and florian-str committed Jun 18, 2024
1 parent 67a769a commit dff313c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ testSavePollDrafts
| size |
size := LQRemotePollRepoServer pollDraftRepo items size.
LQRemotePollRepoServer pollDraftRepo items at: self pollDraft pollDraftId put: self pollDraft.
self assert: LQRemotePollRepoServer pollDraftRepo items size > size
self assert: LQRemotePollRepoServer pollDraftRepo items size > size.
self assert: (LQRemotePollRepoServer pollDraftRepo items at: self pollDraft pollDraftId) title equals: 'TestDraft'.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"setUp" : "vl 6/6/2024 20:02",
"tearDown" : "vl 6/6/2024 20:20",
"testRemovePollDrafts" : "vl 6/6/2024 20:20",
"testSavePollDrafts" : "vl 6/6/2024 20:20" } }
"testSavePollDrafts" : "vl 6/7/2024 14:27" } }
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
instance creation
openWithPollDraft: aLQPollDraft
| aPollDraftBuilder |
aPollDraftBuilder := self new.
aPollDraftBuilder := self new.
aPollDraftBuilder pollDraft: aLQPollDraft.
aPollDraftBuilder questionBuilders removeAll.
1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"class" : {
"newWithTitle:" : "ape 7/23/2022 09:58",
"openWithPollDraft:" : "vl 6/5/2024 23:11" },
"openWithPollDraft:" : "vl 6/7/2024 14:24" },
"instance" : {
"addManageUserSetsFrame" : "bn 8/2/2022 16:57",
"addQuestion" : "bn 8/2/2022 18:07",
Expand Down

0 comments on commit dff313c

Please sign in to comment.