[test,addendum][xs]: fixes for tests after changes in last commit b64daea1a7.

This commit is contained in:
Rufus Pollock
2012-06-18 21:21:03 +01:00
parent b64daea1a7
commit 0148dd45b2
3 changed files with 6 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ test('geo_distance', function () {
$editForm = view.el.find('form.js-edit');
equal($editForm.find('.filter-geo_distance').length, 1)
deepEqual(_.keys(dataset.queryState.attributes.filters[0]), ['distance',
'point', 'type', 'field']);
'unit', 'point', 'type', 'field']);
// now set filter value and apply
$editForm.find('input[name="lat"]').val(10);