Skip to content

Commit 67becdb

Browse files
committed
Reactive array spec: Fix confusion regarding which operation (does not)
update/s the observable count
1 parent 4f3d5c0 commit 67becdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ReactiveArrayTests/ReactiveArraySpec.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ class ReactiveArraySpec: QuickSpec {
429429
producer = producer.skip(1)
430430
}
431431

432-
it("does not update the count") {
432+
it("updates the count") {
433433
waitUntil { done in
434434
producer
435435
.take(1)
@@ -452,7 +452,7 @@ class ReactiveArraySpec: QuickSpec {
452452
producer = producer.skip(1)
453453
}
454454

455-
it("updates the count") {
455+
it("does not update the count") {
456456
waitUntil { done in
457457
array[1] = 656
458458
expect(array.count).to(equal(countBeforeOperation))

0 commit comments

Comments
 (0)