diff --git a/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___InteractorTests.swift b/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___InteractorTests.swift index 3c09e4a..3586991 100755 --- a/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___InteractorTests.swift +++ b/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___InteractorTests.swift @@ -11,17 +11,17 @@ import Nimble //@testable import YOUR_MODULE_NAME -class ___FILEBASENAMEASIDENTIFIER___InteractorTests: QuickSpec { +class ___VARIABLE_viperModuleName___InteractorTests: QuickSpec { override func spec() { - var view: ___FILEBASENAMEASIDENTIFIER___ViewController! - let interactor = ___FILEBASENAMEASIDENTIFIER___Interactor() - var presenter: ___FILEBASENAMEASIDENTIFIER___Presenter! + var view: ___VARIABLE_viperModuleName___ViewController! + let interactor = ___VARIABLE_viperModuleName___Interactor() + var presenter: ___VARIABLE_viperModuleName___Presenter! beforeSuite { - let router = ___FILEBASENAMEASIDENTIFIER___Router() - view = ___FILEBASENAMEASIDENTIFIER___Router.createModule() as? ___FILEBASENAMEASIDENTIFIER___ViewController - presenter = ___FILEBASENAMEASIDENTIFIER___Presenter(interface: view, + let router = ___VARIABLE_viperModuleName___Router() + view = ___VARIABLE_viperModuleName___Router.createModule() as? ___VARIABLE_viperModuleName___ViewController + presenter = ___VARIABLE_viperModuleName___Presenter(interface: view, interactor: interactor, router: router) diff --git a/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___PresenterTests.swift b/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___PresenterTests.swift index e2b551d..e32db83 100755 --- a/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___PresenterTests.swift +++ b/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___PresenterTests.swift @@ -11,17 +11,17 @@ import Nimble //@testable import YOUR_MODULE_NAME -class ___FILEBASENAMEASIDENTIFIER___PresenterTests: QuickSpec { +class ___VARIABLE_viperModuleName___PresenterTests: QuickSpec { override func spec() { - describe("___FILEBASENAMEASIDENTIFIER___Presenter Tests") { + describe("___VARIABLE_viperModuleName___Presenter Tests") { describe(".init(interface:interactor:router:)", { - var presenter: ___FILEBASENAMEASIDENTIFIER___Presenter! + var presenter: ___VARIABLE_viperModuleName___Presenter! beforeEach { - presenter = ___FILEBASENAMEASIDENTIFIER___Presenter(interface: ___FILEBASENAMEASIDENTIFIER___Router.createModule() as?___FILEBASENAMEASIDENTIFIER___ViewController, - interactor: ___FILEBASENAMEASIDENTIFIER___Interactor(), - router: ___FILEBASENAMEASIDENTIFIER___Router()) + presenter = ___VARIABLE_viperModuleName___Presenter(interface: ___VARIABLE_viperModuleName___Router.createModule() as?___VARIABLE_viperModuleName___ViewController, + interactor: ___VARIABLE_viperModuleName___Interactor(), + router: ___VARIABLE_viperModuleName___Router()) } it("successfully initialises", closure: { diff --git a/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___RouterTests.swift b/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___RouterTests.swift index 6efd7f9..9ec9fa4 100755 --- a/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___RouterTests.swift +++ b/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___RouterTests.swift @@ -11,15 +11,15 @@ import Nimble //@testable import YOUR_MODULE_NAME -class ___FILEBASENAMEASIDENTIFIER___RouterTests: QuickSpec { +class ___VARIABLE_viperModuleName___RouterTests: QuickSpec { override func spec() { - describe("___FILEBASENAMEASIDENTIFIER___Router Tests") { + describe("___VARIABLE_viperModuleName___Router Tests") { describe(".createModule()", { - var view: ___FILEBASENAMEASIDENTIFIER___ViewController! + var view: ___VARIABLE_viperModuleName___ViewController! beforeEach { - view = ___FILEBASENAMEASIDENTIFIER___Router.createModule() as? ___FILEBASENAMEASIDENTIFIER___ViewController + view = ___VARIABLE_viperModuleName___Router.createModule() as? ___VARIABLE_viperModuleName___ViewController } it("should create orders module successfully", closure: { diff --git a/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___ViewControllerTests.swift b/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___ViewControllerTests.swift index c3228a0..e2799d2 100755 --- a/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___ViewControllerTests.swift +++ b/ViperC-Quick.xctemplate/Swift/___FILEBASENAMEASIDENTIFIER___ViewControllerTests.swift @@ -11,14 +11,14 @@ import Nimble //@testable import YOUR_MODULE_NAME -class ___FILEBASENAMEASIDENTIFIER___ViewControllerTests: QuickSpec { +class ___VARIABLE_viperModuleName___ViewControllerTests: QuickSpec { override func spec() { - describe("___FILEBASENAMEASIDENTIFIER___ViewController Tests") { - var view: ___FILEBASENAMEASIDENTIFIER___ViewController! + describe("___VARIABLE_viperModuleName___ViewController Tests") { + var view: ___VARIABLE_viperModuleName___ViewController! beforeSuite { - view = ___FILEBASENAMEASIDENTIFIER___Router.createModule() as? ___FILEBASENAMEASIDENTIFIER___ViewController + view = ___VARIABLE_viperModuleName___Router.createModule() as? ___VARIABLE_viperModuleName___ViewController } context("when created by router", {