spec_app/spec/javascripts/up/form_spec.js.coffee in upjs-rails-0.3.3 vs spec_app/spec/javascripts/up/form_spec.js.coffee in upjs-rails-0.4.0

- old
+ new

@@ -70,15 +70,15 @@ expect($('form')).toHaveText('error-messages') expect($('body')).not.toHaveText('text-before') expect($('body')).not.toHaveText('text-after') done() - it 'respects a X-Up-Current-Location header that the server sends in case of a redirect', (done) -> + it 'respects a X-Up-Location header that the server sends in case of a redirect', (done) -> @request.respondWith status: 200 contentType: 'text/html' - responseHeaders: { 'X-Up-Current-Location': '/other/path' } + responseHeaders: { 'X-Up-Location': '/other/path' } responseText: """ <div class="response"> new-text </div> \ No newline at end of file