snake_case test files.
This commit is contained in:
parent
9086f504d6
commit
a4088bbacc
28 changed files with 55 additions and 55 deletions
|
@ -2,7 +2,7 @@ var expect = require('expect.js');
|
||||||
var sinon = require('sinon');
|
var sinon = require('sinon');
|
||||||
var Promise = require('bluebird');
|
var Promise = require('bluebird');
|
||||||
|
|
||||||
var ScenarioManager = require('../scenarioManager');
|
var ScenarioManager = require('../scenario_manager');
|
||||||
|
|
||||||
describe('scenario manager', function () {
|
describe('scenario manager', function () {
|
||||||
var manager = new ScenarioManager('http://localhost:9200');
|
var manager = new ScenarioManager('http://localhost:9200');
|
|
@ -1,8 +1,8 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -2,7 +2,7 @@ define(function (require) {
|
||||||
var bdd = require('intern!bdd');
|
var bdd = require('intern!bdd');
|
||||||
var config = require('intern').config;
|
var config = require('intern').config;
|
||||||
var url = require('intern/dojo/node!url');
|
var url = require('intern/dojo/node!url');
|
||||||
var ScenarioManager = require('intern/dojo/node!../../../fixtures/scenarioManager');
|
var ScenarioManager = require('intern/dojo/node!../../../fixtures/scenario_manager');
|
||||||
var discoverTest = require('./_discover');
|
var discoverTest = require('./_discover');
|
||||||
var fieldData = require('./_field_data');
|
var fieldData = require('./_field_data');
|
||||||
var sharedLinks = require('./_shared_links');
|
var sharedLinks = require('./_shared_links');
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var config = require('intern').config;
|
var config = require('intern').config;
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -2,7 +2,7 @@ define(function (require) {
|
||||||
var bdd = require('intern!bdd');
|
var bdd = require('intern!bdd');
|
||||||
var config = require('intern').config;
|
var config = require('intern').config;
|
||||||
var url = require('intern/dojo/node!url');
|
var url = require('intern/dojo/node!url');
|
||||||
var ScenarioManager = require('intern/dojo/node!../../../fixtures/scenarioManager');
|
var ScenarioManager = require('intern/dojo/node!../../../fixtures/scenario_manager');
|
||||||
|
|
||||||
var initialStateTest = require('./_initial_state');
|
var initialStateTest = require('./_initial_state');
|
||||||
var creationChangesTest = require('./_creation_form_changes');
|
var creationChangesTest = require('./_creation_form_changes');
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var VisualizePage = require('../../../support/pages/VisualizePage');
|
var VisualizePage = require('../../../support/pages/visualize_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var VisualizePage = require('../../../support/pages/VisualizePage');
|
var VisualizePage = require('../../../support/pages/visualize_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var VisualizePage = require('../../../support/pages/VisualizePage');
|
var VisualizePage = require('../../../support/pages/visualize_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var VisualizePage = require('../../../support/pages/VisualizePage');
|
var VisualizePage = require('../../../support/pages/visualize_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var VisualizePage = require('../../../support/pages/VisualizePage');
|
var VisualizePage = require('../../../support/pages/visualize_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var VisualizePage = require('../../../support/pages/VisualizePage');
|
var VisualizePage = require('../../../support/pages/visualize_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var VisualizePage = require('../../../support/pages/VisualizePage');
|
var VisualizePage = require('../../../support/pages/visualize_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
var DiscoverPage = require('../../../support/pages/DiscoverPage');
|
var DiscoverPage = require('../../../support/pages/discover_page');
|
||||||
var VisualizePage = require('../../../support/pages/VisualizePage');
|
var VisualizePage = require('../../../support/pages/visualize_page');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
|
|
||||||
return function (bdd, scenarioManager) {
|
return function (bdd, scenarioManager) {
|
||||||
|
|
|
@ -4,9 +4,9 @@ define(function (require) {
|
||||||
var config = require('intern').config;
|
var config = require('intern').config;
|
||||||
var url = require('intern/dojo/node!url');
|
var url = require('intern/dojo/node!url');
|
||||||
var _ = require('intern/dojo/node!lodash');
|
var _ = require('intern/dojo/node!lodash');
|
||||||
var Common = require('../../../support/pages/Common');
|
var Common = require('../../../support/pages/common');
|
||||||
var ScenarioManager = require('intern/dojo/node!../../../fixtures/scenarioManager');
|
var ScenarioManager = require('intern/dojo/node!../../../fixtures/scenario_manager');
|
||||||
var HeaderPage = require('../../../support/pages/HeaderPage');
|
var HeaderPage = require('../../../support/pages/header_page');
|
||||||
var SettingsPage = require('../../../support/pages/settings_page');
|
var SettingsPage = require('../../../support/pages/settings_page');
|
||||||
|
|
||||||
var chartTypeTest = require('./_chart_types');
|
var chartTypeTest = require('./_chart_types');
|
||||||
|
|
|
@ -2,7 +2,7 @@ define(function (require) {
|
||||||
var bdd = require('intern!bdd');
|
var bdd = require('intern!bdd');
|
||||||
var expect = require('intern/dojo/node!expect.js');
|
var expect = require('intern/dojo/node!expect.js');
|
||||||
var config = require('intern').config;
|
var config = require('intern').config;
|
||||||
var Common = require('../../support/pages/Common');
|
var Common = require('../../support/pages/common');
|
||||||
|
|
||||||
bdd.describe('status page', function () {
|
bdd.describe('status page', function () {
|
||||||
var common;
|
var common;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// in test/support/pages/Common.js
|
// in test/support/pages/common.js
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var config = require('intern').config;
|
var config = require('intern').config;
|
||||||
var Promise = require('bluebird');
|
var Promise = require('bluebird');
|
|
@ -1,4 +1,4 @@
|
||||||
// in test/support/pages/DiscoverPage.js
|
// in test/support/pages/discover_page.js
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var config = require('intern').config;
|
var config = require('intern').config;
|
||||||
var Common = require('./Common');
|
var Common = require('./Common');
|
|
@ -1,7 +1,7 @@
|
||||||
define(function (require) {
|
define(function (require) {
|
||||||
var bdd = require('intern!bdd');
|
var bdd = require('intern!bdd');
|
||||||
var serverConfig = require('intern/dojo/node!../../../serverConfig');
|
var serverConfig = require('intern/dojo/node!../../../serverConfig');
|
||||||
var ScenarioManager = require('intern/dojo/node!../../../fixtures/scenarioManager');
|
var ScenarioManager = require('intern/dojo/node!../../../fixtures/scenario_manager');
|
||||||
var request = require('intern/dojo/node!supertest-as-promised');
|
var request = require('intern/dojo/node!supertest-as-promised');
|
||||||
var url = require('intern/dojo/node!url');
|
var url = require('intern/dojo/node!url');
|
||||||
var _ = require('intern/dojo/node!lodash');
|
var _ = require('intern/dojo/node!lodash');
|
||||||
|
|
Loading…
Reference in a new issue