   describe "Basic Initialization", ->
     $compile   = null
     $rootScope = null
+    prefixes   = ["webkit", "Moz", "ms", "O"]
 
     beforeEach inject (_$compile_, _$rootScope_) ->
       $compile   = _$compile_

      element = $compile("<mac-spinner></mac-spinner>") $rootScope
      $rootScope.$digest()

      expect(element.hasClass "mac-spinner").toBe true

    it "should create 10 bars", ->
      element = $compile("<mac-spinner></mac-spinner>") $rootScope
      $rootScope.$digest()

      expect($(".bar", element).length).toBe 10

    it "should update spinner size", ->
      element = $compile("<mac-spinner mac-spinner-size='30'></mac-spinner>") $rootScope
      $rootScope.$digest()

      isCorrectSize = element.height() is 30 and element.width() is 30
      expect(isCorrectSize).toBe true

    it "should update z-index", ->

      $rootScope.$digest()

      # FF extends background style to 'none repeat scroll 0% 0% rgb(18, 49, 35)'
      bar = element[0].querySelector ".bar"

      expect(bar.style.background.indexOf("rgb(18, 49, 35)")).not.toBe -1
