 				expect(completed).to(beFalse())
 				expect(dealloced).to(beFalse())
 				
-				scheduler.run()
+				testScheduler.run()
 				
 				expect(completed).to(beTrue())
 				expect(dealloced).to(beTrue())

				expect(errored).to(beFalse())
				expect(dealloced).to(beFalse())
				
				scheduler.run()
				
				expect(errored).to(beTrue())
				expect(dealloced).to(beTrue())
			}

			it("should deallocate after completing") {
				let scheduler = TestScheduler()
				var dealloced = false
				
				let signal: Signal<Int, NSError> = Signal { observer in
					scheduler.schedule {
						sendCompleted(observer)
					}
					return ActionDisposable {

	override func spec() {
		describe("init") {
			let testError = NSError(domain: "SignalSpec", code: 1, userInfo: nil)
			var testScheduler: TestScheduler!
			
			beforeEach {
				testScheduler = TestScheduler()
			}
			
			it("should run the generator immediately") {
				var didRunGenerator = false
