From 3a05d8c2e80890db96abb9dc0844f5bba1431e5e Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Mon, 26 Oct 2015 16:40:39 +0100 Subject: [PATCH] Widgets inside layer options --- test/acceptance/histograms.js | 14 +++++++------- test/acceptance/lists.js | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/test/acceptance/histograms.js b/test/acceptance/histograms.js index 59cbdbde..24537640 100644 --- a/test/acceptance/histograms.js +++ b/test/acceptance/histograms.js @@ -33,13 +33,13 @@ describe('histograms', function() { options: { sql: 'select * from populated_places_simple_reduced', cartocss: '#layer { marker-fill: red; marker-width: 32; marker-allow-overlap: true; }', - cartocss_version: '2.3.0' - }, - widgets: { - pop_max: { - type: 'histogram', - options: { - column: 'pop_max' + cartocss_version: '2.3.0', + widgets: { + pop_max: { + type: 'histogram', + options: { + column: 'pop_max' + } } } } diff --git a/test/acceptance/lists.js b/test/acceptance/lists.js index bc7fdd66..eb468105 100644 --- a/test/acceptance/lists.js +++ b/test/acceptance/lists.js @@ -33,13 +33,13 @@ describe('lists', function() { options: { sql: 'select * from test_table', cartocss: '#layer { marker-fill: red; marker-width: 32; marker-allow-overlap: true; }', - cartocss_version: '2.3.0' - }, - widgets: { - names: { - type: 'list', - options: { - columns: ['name'] + cartocss_version: '2.3.0', + widgets: { + names: { + type: 'list', + options: { + columns: ['name'] + } } } }