Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-13 19:17:41 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-13 19:18:19 +0300
commit13b60eb75b99abb23f41c0d899d6e40eefa641cc (patch)
treee0a3d919c659fc302dbbb6c73c0982c490bd998d /spec/javascripts/raven/raven_config_spec.js
parentcfd3d0fd377c3438c6ce8bc2f20b11f86b43a785 (diff)
[ci skip] Index and singleton improvements with some more unit, more to come
Diffstat (limited to 'spec/javascripts/raven/raven_config_spec.js')
-rw-r--r--spec/javascripts/raven/raven_config_spec.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/spec/javascripts/raven/raven_config_spec.js b/spec/javascripts/raven/raven_config_spec.js
index 2b63f56d719..64cf63702bc 100644
--- a/spec/javascripts/raven/raven_config_spec.js
+++ b/spec/javascripts/raven/raven_config_spec.js
@@ -1,8 +1,7 @@
import Raven from 'raven-js';
import RavenConfig from '~/raven/raven_config';
-import ClassSpecHelper from '../helpers/class_spec_helper';
-fdescribe('RavenConfig', () => {
+describe('RavenConfig', () => {
describe('init', () => {
beforeEach(() => {
spyOn(RavenConfig, 'configure');
@@ -10,8 +9,6 @@ fdescribe('RavenConfig', () => {
spyOn(RavenConfig, 'setUser');
});
- ClassSpecHelper.itShouldBeAStaticMethod(RavenConfig, 'init');
-
describe('when called', () => {
let options;
@@ -58,8 +55,6 @@ fdescribe('RavenConfig', () => {
});
describe('configure', () => {
- ClassSpecHelper.itShouldBeAStaticMethod(RavenConfig, 'configure');
-
describe('when called', () => {
let options;
let raven;
@@ -112,24 +107,18 @@ fdescribe('RavenConfig', () => {
});
describe('setUser', () => {
- ClassSpecHelper.itShouldBeAStaticMethod(RavenConfig, 'setUser');
-
describe('when called', () => {
beforeEach(() => {});
});
});
describe('bindRavenErrors', () => {
- ClassSpecHelper.itShouldBeAStaticMethod(RavenConfig, 'bindRavenErrors');
-
describe('when called', () => {
beforeEach(() => {});
});
});
describe('handleRavenErrors', () => {
- ClassSpecHelper.itShouldBeAStaticMethod(RavenConfig, 'handleRavenErrors');
-
describe('when called', () => {
beforeEach(() => {});
});