We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eae79fb commit 9c40b5cCopy full SHA for 9c40b5c
SwiftWeatherUITests/SwiftWeatherUITests.swift
@@ -22,14 +22,14 @@ class SwiftWeatherUITests: QuickSpec {
22
context("location service is enabled") {
23
context("when in portrait") {
24
beforeEach {
25
- XCUIDevice.shared().orientation = .portrait
+ XCUIDevice.shared.orientation = .portrait
26
}
27
itBehavesLike("a properly laidout wheather viewcontroller")
28
29
30
context("when in landscape") {
31
32
- XCUIDevice.shared().orientation = .landscapeLeft
+ XCUIDevice.shared.orientation = .landscapeLeft
33
34
35
0 commit comments