 
          callback1.should.have.been.calledOnce
          callback2.should.have.been.calledOnce
+
+    it 'should pass $ as the first argument to callbacks', (done) ->
+      $ ($$) ->
+        $$.fn.should.be.an.object
+        done()
+
+      $(document).trigger 'page:load'
 
     describe '$.turbo.use', ->
       beforeEach ->

      $(document).trigger('page:load')
      $(callback2 = sinon.spy())
      callback2.should.have.been.calledOnce

  describe "DOM isn't ready", ->

    beforeEach ->
      $(callback1 = sinon.spy())
      $(callback2 = sinon.spy())

