| author | ymh <ymh.work@gmail.com> |
| Sat, 06 Aug 2016 21:29:33 +0700 | |
| changeset 261 | 02e2396bcbbc |
| parent 189 | 21b30ee23191 |
| permissions | -rw-r--r-- |
|
189
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
1 |
import { interval } from 'app-client/helpers/interval'; |
|
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
2 |
import { module, test } from 'qunit'; |
|
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
3 |
|
|
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
4 |
module('Unit | Helper | interval'); |
|
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
5 |
|
|
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
6 |
// Replace this with your real tests. |
|
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
7 |
test('it works', function(assert) { |
|
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
8 |
let result = interval([42]); |
|
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
9 |
assert.ok(result); |
|
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff
changeset
|
10 |
}); |