aboutsummaryrefslogtreecommitdiff
path: root/test/unit/specs/boot
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2018-12-15 06:16:44 +0300
committerMaxim Filippov <colixer@gmail.com>2018-12-15 06:16:44 +0300
commit828b1c78f9304d400a206a25f4f43999bc5908bc (patch)
tree9c3f9d067384c5f2596890a8cbafe0d324ae3604 /test/unit/specs/boot
parent1341a7bb9cc14ecd0a1755cd2de1c09384a431c6 (diff)
Implement user_profile.spec.js
Diffstat (limited to 'test/unit/specs/boot')
-rw-r--r--test/unit/specs/boot/routes.spec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/specs/boot/routes.spec.js b/test/unit/specs/boot/routes.spec.js
index be2fd7d2..638b1860 100644
--- a/test/unit/specs/boot/routes.spec.js
+++ b/test/unit/specs/boot/routes.spec.js
@@ -16,7 +16,7 @@ describe('routes', () => {
const matchedComponents = router.getMatchedComponents()
- expect(matchedComponents[0].components.hasOwnProperty('Timeline'))
+ expect(matchedComponents[0].components.hasOwnProperty('Timeline')).to.eql(true)
})
it('user\'s profile', () => {
@@ -24,6 +24,7 @@ describe('routes', () => {
const matchedComponents = router.getMatchedComponents()
- expect(matchedComponents[0].components.hasOwnProperty('UserProfile'))
+ console.log(matchedComponents[0].components.UserCardContent)
+ expect(matchedComponents[0].components.hasOwnProperty('UserProfile')).to.eql(true)
})
})