 
       it "loads this link's destination in a popup when clicked", ->
         $link = affix('a[href="/path/to"][up-popup=".middle"]').text('link')
+        $link.css
+          position: 'fixed'
+          left: '100px'
+          top: '50px'
         $link.click()
         expect(@lastRequest().url).toMatch /\/path\/to$/
         @respondWith """

          <div class="middle">new-middle</div>
          <div class="after">new-after</div>
          """
        expect($('.up-popup')).toExist()
        expect($('.up-popup .middle')).toHaveText('new-middle')
        expect($('.up-popup .before')).not.toExist()
        expect($('.up-popup .after')).not.toExist()

    describe '[up-close]', ->


describe 'up.popup', ->

  u = up.util

  describe 'Javascript functions', ->

