Skip to content
Snippets Groups Projects
Commit 8bd3f526 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Swaps url for paths in mock data

parent 67c833e9
No related branches found
No related tags found
No related merge requests found
Loading
@@ -40,18 +40,18 @@ const environmentsList = [
Loading
@@ -40,18 +40,18 @@ const environmentsList = [
avatar_url: 'http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon', avatar_url: 'http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon',
web_url: 'http://localhost:3000/root', web_url: 'http://localhost:3000/root',
}, },
commit_url: 'http://localhost:3000/root/ci-folders/tree/500aabcb17c97bdcf2d0c410b70cb8556f0362dd', commit_path: '/root/ci-folders/tree/500aabcb17c97bdcf2d0c410b70cb8556f0362dd',
}, },
deployable: { deployable: {
id: 1278, id: 1278,
name: 'build', name: 'build',
build_url: 'http://localhost:3000/root/ci-folders/builds/1278', build_path: '/root/ci-folders/builds/1278',
retry_url: 'http://localhost:3000/root/ci-folders/builds/1278/retry', retry_path: '/root/ci-folders/builds/1278/retry',
}, },
manual_actions: [], manual_actions: [],
}, },
'stoppable?': true, 'stoppable?': true,
environment_url: 'http://localhost:3000/root/ci-folders/environments/31', environment_path: '/root/ci-folders/environments/31',
created_at: '2016-11-07T11:11:16.525Z', created_at: '2016-11-07T11:11:16.525Z',
updated_at: '2016-11-07T11:11:16.525Z', updated_at: '2016-11-07T11:11:16.525Z',
}, },
Loading
@@ -95,18 +95,18 @@ const environmentsList = [
Loading
@@ -95,18 +95,18 @@ const environmentsList = [
avatar_url: 'http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon', avatar_url: 'http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon',
web_url: 'http://localhost:3000/root', web_url: 'http://localhost:3000/root',
}, },
commit_url: 'http://localhost:3000/root/ci-folders/tree/500aabcb17c97bdcf2d0c410b70cb8556f0362dd', commit_path: '/root/ci-folders/tree/500aabcb17c97bdcf2d0c410b70cb8556f0362dd',
}, },
deployable: { deployable: {
id: 1278, id: 1278,
name: 'build', name: 'build',
build_url: 'http://localhost:3000/root/ci-folders/builds/1278', build_path: '/root/ci-folders/builds/1278',
retry_url: 'http://localhost:3000/root/ci-folders/builds/1278/retry', retry_path: '/root/ci-folders/builds/1278/retry',
}, },
manual_actions: [], manual_actions: [],
}, },
'stoppable?': false, 'stoppable?': false,
environment_url: 'http://localhost:3000/root/ci-folders/environments/31', environment_path: '/root/ci-folders/environments/31',
created_at: '2016-11-07T11:11:16.525Z', created_at: '2016-11-07T11:11:16.525Z',
updated_at: '2016-11-07T11:11:16.525Z', updated_at: '2016-11-07T11:11:16.525Z',
}, },
Loading
@@ -117,7 +117,7 @@ const environmentsList = [
Loading
@@ -117,7 +117,7 @@ const environmentsList = [
environment_type: 'review', environment_type: 'review',
last_deployment: null, last_deployment: null,
'stoppable?': true, 'stoppable?': true,
environment_url: 'http://localhost:3000/root/ci-folders/environments/31', environment_path: '/root/ci-folders/environments/31',
created_at: '2016-11-07T11:11:16.525Z', created_at: '2016-11-07T11:11:16.525Z',
updated_at: '2016-11-07T11:11:16.525Z', updated_at: '2016-11-07T11:11:16.525Z',
}, },
Loading
@@ -128,9 +128,8 @@ const environmentsList = [
Loading
@@ -128,9 +128,8 @@ const environmentsList = [
environment_type: 'review', environment_type: 'review',
last_deployment: null, last_deployment: null,
'stoppable?': true, 'stoppable?': true,
environment_url: 'http://localhost:3000/root/ci-folders/environments/31', environment_path: '/root/ci-folders/environments/31',
created_at: '2016-11-07T11:11:16.525Z', created_at: '2016-11-07T11:11:16.525Z',
updated_at: '2016-11-07T11:11:16.525Z', updated_at: '2016-11-07T11:11:16.525Z',
}, },
]; ];
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment