Add RequestCoordinatorTests

pull/2/head
Michael Scoff 7 years ago
parent 63d9909fd5
commit 97d38e6723
  1. 19
      TrustTests/Coordinators/RequestCoordinatorTests.swift

@ -0,0 +1,19 @@
// Copyright SIX DAY LLC. All rights reserved.
import XCTest
@testable import Trust
class RequestCoordinatorTests: XCTestCase {
func testRootViewController() {
let coordinator = RequestCoordinator(
navigationController: FakeNavigationController(),
session: .make()
)
coordinator.start()
XCTAssertTrue(coordinator.navigationController.viewControllers.first is RequestViewController)
}
}
Loading…
Cancel
Save