                         }
                     }
 
-                stubRepeatedRequest()
+                stubRequest()
                 awaitNewData(repeatedRequest().start())
 
                 expect(decorations) == 1


        describe("repeated()")
            {
            func stubRepeatedRequest(_ answer: String = "No.", flavorHeader: String? = nil)
                {
                NetworkStub.clearAll()
                NetworkStub.add(

                QuickSpec.current.waitForExpectations(timeout: 1)
                }

            let originalRequest = specVar
                {
                () -> Request in
                stubRequest()
                let req = resource().request(.patch, text: "Is there an echo in here?")
                awaitNewData(req)
                return req
                }

            let repeatedRequest = specVar { originalRequest().repeated() }

            it("does not send the repeated request automatically")
                {
                _ = originalRequest()  // Wait for original go through
                NetworkStub.clearAll() // Tell NetworkStub not to allow any more requests...
                _ = repeatedRequest()  // ...so that a request here would cause an error
                }

            it("sends a new network request on start()")
                {
                awaitNewData(repeatedRequest().start())
                }

            it("leaves the old request’s result intact")
                {
                _ = originalRequest()
                stubRequest("OK, maybe.")
                awaitNewData(repeatedRequest().start())

                expectResonseText(originalRequest(), text: "No.")        // still has old result
                expectResonseText(repeatedRequest(), text: "OK, maybe.") // has new result
                }

            it("does not call the old request’s callbacks")
                {
                var oldRequestHookCalls = 0
                originalRequest().onCompletion { _ in oldRequestHookCalls += 1 }

                awaitNewData(repeatedRequest().start())

                expect(oldRequestHookCalls) == 1
