       ])
 
     it 'scans the loaded paths to retrieve the variables', ->
-      expect(project.variables).toBeDefined()
-      expect(project.variables.length).toEqual(TOTAL_VARIABLES_IN_PROJECT)
+      expect(project.getVariables()).toBeDefined()
+      expect(project.getVariables().length).toEqual(TOTAL_VARIABLES_IN_PROJECT)
 
     it 'dispatches a did-initialize event', ->
       expect(eventSpy).toHaveBeenCalled()

          expect(project.deleteVariablesForPaths).toHaveBeenCalled()

        it 'scans again the file to find variables', ->
          expect(project.variables.length).toEqual(TOTAL_VARIABLES_IN_PROJECT)

        it 'dispatches a did-reload-file-variables event', ->
          expect(eventSpy).toHaveBeenCalled()

            "#{rootPath}/styles/variables.styl"
          ]
          buffers: {}
          variables: project.getVariables().map (v) -> v.serialize()
        })

    describe '::getVariablesForPath', ->
