diff --git a/SWDestinyTradesTests/Controllers/CardDetailViewControllerTests.swift b/SWDestinyTradesTests/Controllers/CardDetailViewControllerTests.swift index f6d07dcf..6554269a 100644 --- a/SWDestinyTradesTests/Controllers/CardDetailViewControllerTests.swift +++ b/SWDestinyTradesTests/Controllers/CardDetailViewControllerTests.swift @@ -14,7 +14,7 @@ import UIKit final class CardDetailViewControllerTests: QuickSpec { - override func spec() { + override class func spec() { describe("CardDetail view controller") { var controller: CardDetailViewController! diff --git a/SWDestinyTradesTests/Rest/HttpClientTests.swift b/SWDestinyTradesTests/Rest/HttpClientTests.swift index 5c8fda4e..27ba1c8e 100644 --- a/SWDestinyTradesTests/Rest/HttpClientTests.swift +++ b/SWDestinyTradesTests/Rest/HttpClientTests.swift @@ -14,7 +14,7 @@ import Quick final class HttpClientTests: QuickSpec { - override func spec() { + override class func spec() { describe("HttpClient") { var sut: HttpClient! diff --git a/SWDestinyTradesTests/Rest/SWDestinyServiceTests.swift b/SWDestinyTradesTests/Rest/SWDestinyServiceTests.swift index 0025e600..52628646 100644 --- a/SWDestinyTradesTests/Rest/SWDestinyServiceTests.swift +++ b/SWDestinyTradesTests/Rest/SWDestinyServiceTests.swift @@ -12,7 +12,7 @@ import Quick final class SWDestinyServiceTests: QuickSpec { - override func spec() { + override class func spec() { describe("SWDestinyService") { var sut: SWDestinyService! var client: HttpClientMock! diff --git a/SWDestinyTradesTests/Screens/About/Controller/AboutViewControllerTests.swift b/SWDestinyTradesTests/Screens/About/Controller/AboutViewControllerTests.swift index 3951a42a..823e92a6 100644 --- a/SWDestinyTradesTests/Screens/About/Controller/AboutViewControllerTests.swift +++ b/SWDestinyTradesTests/Screens/About/Controller/AboutViewControllerTests.swift @@ -15,7 +15,7 @@ import UIKit final class AboutViewControllerTests: QuickSpec { - override func spec() { + override class func spec() { let window = UIWindow.framed() diff --git a/SWDestinyTradesTests/Screens/About/View/AboutViewTests.swift b/SWDestinyTradesTests/Screens/About/View/AboutViewTests.swift index 996be3da..942a5ca8 100644 --- a/SWDestinyTradesTests/Screens/About/View/AboutViewTests.swift +++ b/SWDestinyTradesTests/Screens/About/View/AboutViewTests.swift @@ -15,7 +15,7 @@ import UIKit final class AboutViewTests: QuickSpec { - override func spec() { + override class func spec() { var sut: AboutView! diff --git a/SWDestinyTradesTests/Screens/AddCard/Controller/AddCardViewControllerTests.swift b/SWDestinyTradesTests/Screens/AddCard/Controller/AddCardViewControllerTests.swift index b227cd23..3a1a4d4a 100644 --- a/SWDestinyTradesTests/Screens/AddCard/Controller/AddCardViewControllerTests.swift +++ b/SWDestinyTradesTests/Screens/AddCard/Controller/AddCardViewControllerTests.swift @@ -14,7 +14,7 @@ import UIKit final class AddCardViewControllerTests: QuickSpec { - override func spec() { + override class func spec() { describe("AddCard view controller") { diff --git a/SWDestinyTradesTests/Screens/AddCard/Navigator/AddCardNavigatorTests.swift b/SWDestinyTradesTests/Screens/AddCard/Navigator/AddCardNavigatorTests.swift index 2c04e29a..aad646cf 100644 --- a/SWDestinyTradesTests/Screens/AddCard/Navigator/AddCardNavigatorTests.swift +++ b/SWDestinyTradesTests/Screens/AddCard/Navigator/AddCardNavigatorTests.swift @@ -15,7 +15,7 @@ import UIKit final class AddCardNavigatorTests: QuickSpec { - override func spec() { + override class func spec() { var sut: AddCardNavigator! var navigationController: UINavigationControllerMock! diff --git a/SWDestinyTradesTests/Screens/DeckList/Navigator/DeckListNavigatorTests.swift b/SWDestinyTradesTests/Screens/DeckList/Navigator/DeckListNavigatorTests.swift index 7ae6f0a7..d0dcd1d1 100644 --- a/SWDestinyTradesTests/Screens/DeckList/Navigator/DeckListNavigatorTests.swift +++ b/SWDestinyTradesTests/Screens/DeckList/Navigator/DeckListNavigatorTests.swift @@ -14,7 +14,7 @@ import UIKit final class DeckListNavigatorTests: QuickSpec { - override func spec() { + override class func spec() { describe("Deck List Navigator") { diff --git a/SWDestinyTradesTests/Screens/LoanDetail/Navigator/LoanDetailNavigatorTests.swift b/SWDestinyTradesTests/Screens/LoanDetail/Navigator/LoanDetailNavigatorTests.swift index 370579eb..6a51aeae 100644 --- a/SWDestinyTradesTests/Screens/LoanDetail/Navigator/LoanDetailNavigatorTests.swift +++ b/SWDestinyTradesTests/Screens/LoanDetail/Navigator/LoanDetailNavigatorTests.swift @@ -14,7 +14,7 @@ import UIKit final class LoanDetailNavigatorTests: QuickSpec { - override func spec() { + override class func spec() { describe("Loan Detail Navigator") { diff --git a/SWDestinyTradesTests/SnapShots/Screens/About/AboutViewControllerSnapshotTests.swift b/SWDestinyTradesTests/SnapShots/Screens/About/AboutViewControllerSnapshotTests.swift index 08486fd8..1c68ec2b 100644 --- a/SWDestinyTradesTests/SnapShots/Screens/About/AboutViewControllerSnapshotTests.swift +++ b/SWDestinyTradesTests/SnapShots/Screens/About/AboutViewControllerSnapshotTests.swift @@ -15,7 +15,7 @@ import UIKit final class AboutViewControllerSnapshotTests: QuickSpec { - override func spec() { + override class func spec() { var sut: AboutViewController! let window = UIWindow.framed() diff --git a/SWDestinyTradesTests/SnapShots/Screens/AddCard/AddCardViewControllerSnapshotTests.swift b/SWDestinyTradesTests/SnapShots/Screens/AddCard/AddCardViewControllerSnapshotTests.swift index d7380712..3a43c9d1 100644 --- a/SWDestinyTradesTests/SnapShots/Screens/AddCard/AddCardViewControllerSnapshotTests.swift +++ b/SWDestinyTradesTests/SnapShots/Screens/AddCard/AddCardViewControllerSnapshotTests.swift @@ -15,7 +15,7 @@ import UIKit final class AddCardViewControllerSnapshotTests: QuickSpec { - override func spec() { + override class func spec() { var sut: AddCardViewController! var service: SWDestinyService! diff --git a/SWDestinyTradesTests/SnapShots/Screens/DeckGraph/DeckGraphViewControllerTests.swift b/SWDestinyTradesTests/SnapShots/Screens/DeckGraph/DeckGraphViewControllerTests.swift index bb71a9b0..eed1f91b 100644 --- a/SWDestinyTradesTests/SnapShots/Screens/DeckGraph/DeckGraphViewControllerTests.swift +++ b/SWDestinyTradesTests/SnapShots/Screens/DeckGraph/DeckGraphViewControllerTests.swift @@ -15,7 +15,7 @@ import UIKit final class DeckGraphViewControllerTests: QuickSpec { - override func spec() { + override class func spec() { var sut: DeckGraphViewController! var navigationController: UINavigationController! diff --git a/SWDestinyTradesTests/SnapShots/Screens/PeopleList/PeopleListViewControllerTests.swift b/SWDestinyTradesTests/SnapShots/Screens/PeopleList/PeopleListViewControllerTests.swift index 72dec2dc..a7924372 100644 --- a/SWDestinyTradesTests/SnapShots/Screens/PeopleList/PeopleListViewControllerTests.swift +++ b/SWDestinyTradesTests/SnapShots/Screens/PeopleList/PeopleListViewControllerTests.swift @@ -15,7 +15,7 @@ import UIKit final class PeopleListViewControllerTests: QuickSpec { - override func spec() { + override class func spec() { var sut: PeopleListViewController! var database: DatabaseProtocol! @@ -31,7 +31,7 @@ final class PeopleListViewControllerTests: QuickSpec { context("when it's initialized from the tabbar") { beforeEach { - try! database = RealmDatabase(configuration: .inMemory(identifier: self.name)) + try! database = RealmDatabase(configuration: .inMemory(identifier: "PeopleListViewControllerTests")) } afterEach { diff --git a/SWDestinyTradesTests/SnapShots/Screens/Sets/SetsListViewControllerTests.swift b/SWDestinyTradesTests/SnapShots/Screens/Sets/SetsListViewControllerTests.swift index b181dfb5..40f61b51 100644 --- a/SWDestinyTradesTests/SnapShots/Screens/Sets/SetsListViewControllerTests.swift +++ b/SWDestinyTradesTests/SnapShots/Screens/Sets/SetsListViewControllerTests.swift @@ -15,7 +15,7 @@ import UIKit final class SetsListViewControllerTests: QuickSpec { - override func spec() { + override class func spec() { var sut: SetsListViewController! var service: SWDestinyService! diff --git a/Tuist/Dependencies.swift b/Tuist/Dependencies.swift index d8a6ba77..91f6c9e0 100644 --- a/Tuist/Dependencies.swift +++ b/Tuist/Dependencies.swift @@ -8,9 +8,9 @@ let swiftPackageManagerDependencies = SwiftPackageManagerDependencies( .remote(url: "https://github.com/dogo/PKHUD", requirement: .branch("fix/spm-resource")), .remote(url: "https://github.com/liufengting/FTPopOverMenu_Swift", requirement: .upToNextMajor(from: "0.4.4")), .remote(url: "https://github.com/zvonicek/ImageSlideshow", requirement: .upToNextMajor(from: "1.9.1")), - .remote(url: "https://github.com/Quick/Nimble", requirement: .upToNextMajor(from: "10.0.0")), - .remote(url: "https://github.com/Quick/Quick", requirement: .upToNextMajor(from: "5.0.1")), - .remote(url: "https://github.com/ashfurrow/Nimble-Snapshots", requirement: .upToNextMajor(from: "9.4.0")), + .remote(url: "https://github.com/Quick/Nimble", requirement: .upToNextMajor(from: "12.2.0")), + .remote(url: "https://github.com/Quick/Quick", requirement: .upToNextMajor(from: "7.2.0")), + .remote(url: "https://github.com/ashfurrow/Nimble-Snapshots", requirement: .branch("master")), .remote(url: "https://github.com/firebase/firebase-ios-sdk", requirement: .upToNextMajor(from: "10.1.0")), .remote(url: "https://github.com/SwiftKickMobile/SwiftMessages", requirement: .upToNextMajor(from: "9.0.6")) ], diff --git a/Tuist/Dependencies/Lockfiles/Package.resolved b/Tuist/Dependencies/Lockfiles/Package.resolved index 1fa34e4b..d21b2d40 100644 --- a/Tuist/Dependencies/Lockfiles/Package.resolved +++ b/Tuist/Dependencies/Lockfiles/Package.resolved @@ -176,8 +176,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Quick/Nimble", "state" : { - "revision" : "1f3bde57bde12f5e7b07909848c071e9b73d6edc", - "version" : "10.0.0" + "revision" : "f552a16f434eef1f18b62985172489f41d37a18e", + "version" : "12.2.0" } }, { @@ -185,8 +185,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/ashfurrow/Nimble-Snapshots", "state" : { - "revision" : "315171874edd18935e050fc97a7e6287d0a9c14f", - "version" : "9.4.0" + "branch" : "master", + "revision" : "9e4ab0a00b3d0f1d6d2d358e5886532f87503d10" } }, { @@ -212,8 +212,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Quick/Quick", "state" : { - "revision" : "f9d519828bb03dfc8125467d8f7b93131951124c", - "version" : "5.0.1" + "revision" : "494eff9ad74a37047782b0d5d8d84c7ff49a60e4", + "version" : "7.2.0" } }, {