# HG changeset patch # User nowmad@23.1.168.192.in-addr.arpa # Date 1448973389 -3600 # Node ID 2a2402372b6df371ba144f2293caca5d6d63a238 # Parent 343750d4d38ec7a3252a33f45391e3336464d8a8 fix double definition of a var diff -r 343750d4d38e -r 2a2402372b6d cms/app-client/app/components/visu-carto.js --- a/cms/app-client/app/components/visu-carto.js Mon Nov 30 17:50:25 2015 +0100 +++ b/cms/app-client/app/components/visu-carto.js Tue Dec 01 13:36:29 2015 +0100 @@ -51,7 +51,7 @@ }; - var continentsDataProvider = { + continentsDataProvider = { map: "continentsLow", areas: [{ diff -r 343750d4d38e -r 2a2402372b6d cms/app-client/tests/integration/components/visu-carto.js --- a/cms/app-client/tests/integration/components/visu-carto.js Mon Nov 30 17:50:25 2015 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -import { moduleForComponent, test } from 'ember-qunit'; -import hbs from 'htmlbars-inline-precompile'; - -moduleForComponent('visu-carto', 'Integration | Component | visu carto', { - integration: true -}); - -test('it renders', function(assert) { - assert.expect(2); - - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.on('myAction', function(val) { ... }); - - this.render(hbs`{{visu-carto}}`); - - assert.equal(this.$().text().trim(), ''); - - // Template block usage: - this.render(hbs` - {{#visu-carto}} - template block text - {{/visu-carto}} - `); - - assert.equal(this.$().text().trim(), 'template block text'); -});