Added TicketState records to validate test.
This commit is contained in:
parent
7b2a8b507d
commit
d3535a6a53
1 changed files with 24 additions and 0 deletions
|
@ -33,6 +33,30 @@ test('form checks', function() {
|
|||
},
|
||||
])
|
||||
|
||||
App.TicketState.refresh([
|
||||
{
|
||||
id: 1,
|
||||
name: 'new',
|
||||
note: 'some note 1',
|
||||
active: true,
|
||||
created_at: '2014-06-10T11:17:34.000Z',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: 'open',
|
||||
note: 'some note 2',
|
||||
active: true,
|
||||
created_at: '2014-06-10T10:17:34.000Z',
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: 'should not be shown',
|
||||
note: 'some note 3',
|
||||
active: false,
|
||||
created_at: '2014-06-10T10:17:34.000Z',
|
||||
},
|
||||
])
|
||||
|
||||
App.User.refresh([
|
||||
{
|
||||
id: 47,
|
||||
|
|
Loading…
Reference in a new issue