From 631c95643dfed29f605236397c09bda60345a2ab Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 20 Feb 2015 15:24:21 -0800 Subject: [PATCH] to5 -> babel --- spec/compile-cache-spec.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/compile-cache-spec.coffee b/spec/compile-cache-spec.coffee index c01948f73..164b8caef 100644 --- a/spec/compile-cache-spec.coffee +++ b/spec/compile-cache-spec.coffee @@ -10,19 +10,19 @@ describe "Compile Cache", -> it "adds the path to the correct CSON, CoffeeScript, or babel cache", -> spyOn(CSON, 'readFileSync').andCallThrough() spyOn(CoffeeCache, 'addPathToCache').andCallThrough() - spyOn(to5, 'addPathToCache').andCallThrough() + spyOn(babel, 'addPathToCache').andCallThrough() CompileCache.addPathToCache(path.join(__dirname, 'fixtures', 'cson.cson')) expect(CSON.readFileSync.callCount).toBe 1 expect(CoffeeCache.addPathToCache.callCount).toBe 0 - expect(to5.addPathToCache.callCount).toBe 0 + expect(babel.addPathToCache.callCount).toBe 0 CompileCache.addPathToCache(path.join(__dirname, 'fixtures', 'coffee.coffee')) expect(CSON.readFileSync.callCount).toBe 1 expect(CoffeeCache.addPathToCache.callCount).toBe 1 - expect(to5.addPathToCache.callCount).toBe 0 + expect(babel.addPathToCache.callCount).toBe 0 CompileCache.addPathToCache(path.join(__dirname, 'fixtures', 'babel', 'double-quotes.js')) expect(CSON.readFileSync.callCount).toBe 1 expect(CoffeeCache.addPathToCache.callCount).toBe 1 - expect(to5.addPathToCache.callCount).toBe 1 + expect(babel.addPathToCache.callCount).toBe 1