summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-27 10:51:44 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-11-16 11:58:06 +0000
commit14345b21509aa874cf8748a2ddcf34d3a632bd6c (patch)
tree7a48f79ed23c0b0ec89249e8e8fdcbf30fccfdad /spec
parentb1ec3cb8d2776070c80cba21d08774e563b42f84 (diff)
downloadgitlab-ce-14345b21509aa874cf8748a2ddcf34d3a632bd6c.tar.gz
Fix whitespace
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/environments/environments_store_spec.js.es66
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/javascripts/environments/environments_store_spec.js.es6 b/spec/javascripts/environments/environments_store_spec.js.es6
index db4ce41701c..8d0fea934c3 100644
--- a/spec/javascripts/environments/environments_store_spec.js.es6
+++ b/spec/javascripts/environments/environments_store_spec.js.es6
@@ -21,20 +21,16 @@
});
it('should count stopped environments and save the count in the state', () => {
-
-
expect(gl.environmentsList.EnvironmentsStore.state.stoppedCounter).toBe(1);
});
it('should count available environments and save the count in the state', () => {
-
expect(gl.environmentsList.EnvironmentsStore.state.availableCounter).toBe(2);
});
it('should store environments with same environment_type as sibilings', () => {
-
expect(gl.environmentsList.EnvironmentsStore.state.environments.length).toBe(2);
-
+
const parentFolder = gl.environmentsList.EnvironmentsStore.state.environments.filter((env) => {
return env.children && env.children.length > 0;
});