     describe "#play, #pause, and #jumpTo", ->
       beforeEach ->
         runs ->
-          player.loadBuffer "http://upload.wikimedia.org/wikipedia/en/f/fd/Beach_Boys-wouldn_t_it_be_nice.ogg"
+          player.loadBuffer audio_url
 
         waitsFor (->
           player.buffer

      it "creates a new player object and loads an audio buffer if one is passed /
      in as an option param", ->
        runs ->
          audio_buffer_url = "http://upload.wikimedia.org/wikipedia/en/f/fd/Beach_Boys-wouldn_t_it_be_nice.ogg"
          player = new Theremin.Player(buffer: audio_buffer_url)

        waitsFor (->
          player.buffer


  describe "Player", ->
    player = new Theremin.Player()
    audio_url = "http://upload.wikimedia.org/wikipedia/en/f/fd/Beach_Boys-wouldn_t_it_be_nice.ogg"

    describe "Constructor", ->
      it "creates a new player object", ->
        expect(player.constructor).toBe Theremin.Player
