spec_app/spec/javascripts/up/navigation_spec.js.coffee in upjs-rails-0.7.5 vs spec_app/spec/javascripts/up/navigation_spec.js.coffee in upjs-rails-0.7.6
- old
+ new
@@ -44,10 +44,14 @@
status: 200
contentType: 'text/html'
responseHeaders: { 'X-Up-Location': '/foo' }
responseText: '<div class="main">new-text</div>'
expect($link).toHaveClass('up-current')
-
+
+ it 'marks a link as .up-current if it links to the URL currently shown in the modal'
+
+ it 'marks a link as .up-current if it links to the URL currently shown in the popup'
+
it 'changes .up-current marks as the URL changes'
it 'marks clicked links as .up-active until the request finishes', ->
$link = affix('a[href="/foo"][up-target=".main"]')
affix('.main')
\ No newline at end of file