summaryrefslogtreecommitdiff
path: root/spec/javascripts/issue_show/mock_data.js
blob: eb3111412a74d897c77af7eb8e2c730fefc6c916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
export default {
  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',
  },
  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',
  },
  issueSpecRequest: {
    title: '<p>this is a title</p>',
    title_text: 'this is a title',
    description: '<li class="task-list-item enabled"><input type="checkbox" class="task-list-item-checkbox">Task List Item</li>',
    description_text: '- [ ] Task List Item',
    task_status: '0 of 1 completed',
    updated_at: '2017-05-15T12:31:04.428Z',
    updated_by_name: 'Last User',
    updated_by_path: '/last_user',
  },
};