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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-04 12:08:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-04 12:08:32 +0300
commit7d19df2d34a9803d9f077c16315ba919b7ae2aa2 (patch)
tree80a824f477c1b450a1f082576a00d6851f3c6582 /spec/frontend/issue_show
parentcebee31a0483ef7f2cade3d6dde0a53a68e86cc6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/issue_show')
-rw-r--r--spec/frontend/issue_show/mock_data.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/frontend/issue_show/mock_data.js b/spec/frontend/issue_show/mock_data.js
new file mode 100644
index 00000000000..ff01a004186
--- /dev/null
+++ b/spec/frontend/issue_show/mock_data.js
@@ -0,0 +1,23 @@
+export const initialRequest = {
+ title: '<p>this is a title</p>',
+ title_text: 'this is a title',
+ description: '<p>this is a description!</p>',
+ description_text: 'this is a description',
+ task_status: '2 of 4 completed',
+ updated_at: '2015-05-15T12:31:04.428Z',
+ updated_by_name: 'Some User',
+ updated_by_path: '/some_user',
+ lock_version: 1,
+};
+
+export const secondRequest = {
+ title: '<p>2</p>',
+ title_text: '2',
+ description: '<p>42</p>',
+ description_text: '42',
+ task_status: '0 of 0 completed',
+ updated_at: '2016-05-15T12:31:04.428Z',
+ updated_by_name: 'Other User',
+ updated_by_path: '/other_user',
+ lock_version: 2,
+};