 		}
 
 		it("should locate the project from the parent directory") {
-			let result = locateProjectInDirectory(directoryURL.URLByDeletingLastPathComponent!)
+			let result = locateProjectInDirectory(directoryURL.URLByDeletingLastPathComponent!).first()
 			expect(result.error()).to(beNil())
 
 			let locator = result.value()!

		let directoryURL = NSBundle(forClass: self.dynamicType).URLForResource("TestFramework", withExtension: nil)!

		it("should build") {
			let result = buildInDirectory(directoryURL).await()
			expect(result.error()).to(beNil())
		}

		it("should locate the project") {
			let result = locateProjectInDirectory(directoryURL)
			expect(result.error()).to(beNil())

			let locator = result.value()!

		}

		it("should not locate the project from a directory not containing it") {
			let result = locateProjectInDirectory(directoryURL.URLByAppendingPathComponent("TestFramework")).wait()
			expect(result.isSuccess()).to(beFalsy())
		}
	}
