fix double definition of a var
authornowmad@23.1.168.192.in-addr.arpa
Tue, 01 Dec 2015 13:36:29 +0100
changeset 38 2a2402372b6d
parent 37 343750d4d38e
child 39 c693e8673d5b
fix double definition of a var
cms/app-client/app/components/visu-carto.js
cms/app-client/tests/integration/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: [{
--- 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');
-});