summaryrefslogtreecommitdiff
path: root/spec/javascripts/environments/mock_data.js
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-03-14 00:58:26 +0000
committerAlfredo Sumaran <alfredo@gitlab.com>2017-03-14 00:58:26 +0000
commitcbf1b656a464e0e544f7e559efed6851616e377f (patch)
tree2377f33dbd9301f1803101ffb78fedf2dfe35585 /spec/javascripts/environments/mock_data.js
parent4b4e1f0455fdf4483573a23e74a33e46c6564be1 (diff)
downloadgitlab-ce-cbf1b656a464e0e544f7e559efed6851616e377f.tar.gz
Use a button and a post request instead of UJS links - part 1 - Environments
Diffstat (limited to 'spec/javascripts/environments/mock_data.js')
-rw-r--r--spec/javascripts/environments/mock_data.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/spec/javascripts/environments/mock_data.js b/spec/javascripts/environments/mock_data.js
index 5c395c6b2d8..30861481cc5 100644
--- a/spec/javascripts/environments/mock_data.js
+++ b/spec/javascripts/environments/mock_data.js
@@ -1,4 +1,4 @@
-const environmentsList = [
+export const environmentsList = [
{
name: 'DEV',
size: 1,
@@ -30,7 +30,7 @@ const environmentsList = [
},
];
-const serverData = [
+export const serverData = [
{
name: 'DEV',
size: 1,
@@ -67,7 +67,7 @@ const serverData = [
},
];
-const environment = {
+export const environment = {
name: 'DEV',
size: 1,
latest: {
@@ -84,9 +84,3 @@ const environment = {
updated_at: '2017-01-31T10:53:46.894Z',
},
};
-
-module.exports = {
- environmentsList,
- environment,
- serverData,
-};