summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-12-21 11:53:03 +0000
committerPhil Hughes <me@iamphill.com>2018-12-21 11:53:03 +0000
commit61dd59464fca96092c8bb1b7dd9878e3c6b22a1b (patch)
tree99af3de1b52bce650efe65d22413f43faa17aa54 /spec
parent84655c3fd9f81b7c53b541ff920d385712125016 (diff)
downloadgitlab-ce-61dd59464fca96092c8bb1b7dd9878e3c6b22a1b.tar.gz
Resolve "Wrong API call on releases page"
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/releases/components/release_block_spec.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/spec/javascripts/releases/components/release_block_spec.js b/spec/javascripts/releases/components/release_block_spec.js
index 19aecbb3636..29420216bc4 100644
--- a/spec/javascripts/releases/components/release_block_spec.js
+++ b/spec/javascripts/releases/components/release_block_spec.js
@@ -15,6 +15,16 @@ describe('Release block', () => {
author_name: 'Release bot',
author_email: 'release-bot@example.com',
created_at: '2012-05-28T05:00:00-07:00',
+ author: {
+ avatar_url: 'uploads/-/system/user/avatar/johndoe/avatar.png',
+ id: 482476,
+ name: 'John Doe',
+ path: '/johndoe',
+ state: 'active',
+ status_tooltip_html: null,
+ username: 'johndoe',
+ web_url: 'https://gitlab.com/johndoe',
+ },
commit: {
id: '2695effb5807a22ff3d138d593fd856244e155e7',
short_id: '2695effb',
@@ -28,16 +38,6 @@ describe('Release block', () => {
committer_name: 'Jack Smith',
committer_email: 'jack@example.com',
committed_date: '2012-05-28T04:42:42-07:00',
- author: {
- avatar_url: 'uploads/-/system/user/avatar/johndoe/avatar.png',
- id: 482476,
- name: 'John Doe',
- path: '/johndoe',
- state: 'active',
- status_tooltip_html: null,
- username: 'johndoe',
- web_url: 'https://gitlab.com/johndoe',
- },
},
assets: {
count: 6,