Skip to content

Commit c7a9ad6

Browse files
committed
update tests code to remove scrollsToBottomOnFirstLayout check
1 parent c0943b1 commit c7a9ad6

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

Tests/ControllersTest/MessagesViewControllerSpec.swift

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ final class MessagesViewControllerSpec: QuickSpec {
3939

4040
describe("default property values") {
4141
context("after initialization") {
42-
it("sets scrollsToBottomOnFirstLayout to false") {
43-
expect(controller.scrollsToBottomOnFirstLayout).to(beFalse())
44-
}
4542
it("sets scrollsToBottomOnKeyboardBeginsEditing to false") {
4643
expect(controller.scrollsToBottomOnKeybordBeginsEditing).to(beFalse())
4744
}
@@ -139,19 +136,6 @@ final class MessagesViewControllerSpec: QuickSpec {
139136
}
140137
}
141138

142-
describe("scrolling behavior on first layout") {
143-
context("scrollsToBottomOnFirstLayout is true") {
144-
it("should scroll to bottom") {
145-
146-
}
147-
}
148-
context("scrollsToBottomOnFirstLayout is false") {
149-
it("should not scroll to bottom") {
150-
151-
}
152-
}
153-
}
154-
155139
describe("calling messagesCollectionView.scrollToBottom()") {
156140
context("all messages are visible") {
157141
it("should scroll to bottom") {

0 commit comments

Comments
 (0)