Skip to content

Commit

Permalink
Fix for viewcontroller xctest.
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahselek committed May 24, 2018
1 parent 024cd21 commit 10d17a3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ import XCTest
class ___VARIABLE_viperModuleName___ViewControllerTests: XCTestCase {

func testInit() {
let view = ___VARIABLE_viperModuleName___Router.createModule() as? ___VARIABLE_viperModuleName___ViewController
guard let view = ___VARIABLE_viperModuleName___Router.createModule() as? ___VARIABLE_viperModuleName___ViewController else {
XCTFail()
return
}
XCTAssertNotNil(view)
XCTAssertNotNil(view.presenter)
}
Expand Down

0 comments on commit 10d17a3

Please sign in to comment.