spec_app/spec/javascripts/up/navigation_spec.js.coffee in unpoly-rails-0.27.0 vs spec_app/spec/javascripts/up/navigation_spec.js.coffee in unpoly-rails-0.27.1

- old
+ new

@@ -110,16 +110,14 @@ @respondWith('<div class="main">new-text</div>') expect($backgroundLink).toHaveClass('up-current') expect($popupLink).toHaveClass('up-current') expect($unrelatedLink).not.toHaveClass('up-current') - done() - -# up.popup.close().then -> -# expect($backgroundLink).toHaveClass('up-current') -# expect($popupLink).not.toHaveClass('up-current') -# expect($unrelatedLink).not.toHaveClass('up-current') -# done() + up.popup.close().then -> + expect($backgroundLink).toHaveClass('up-current') + expect($popupLink).not.toHaveClass('up-current') + expect($unrelatedLink).not.toHaveClass('up-current') + done() it 'changes .up-current marks as the URL changes' describe '.up-active', ->