Add tests for AppBreadcrumb component

Fixes #8
This commit is contained in:
Oliver Davies 2019-04-09 22:07:07 +01:00
parent 7babcbd547
commit 935d824112
4 changed files with 58 additions and 11 deletions

View file

@ -40,11 +40,19 @@ export default {
},
computed: {
selectedApplication: function () {
selectedOrganisation: function () {
if (!this.application) {
return 'All'
}
return 'Rebuilding Acquia'
},
selectedApplication: function () {
if (!this.application) {
return null
}
return this.application.name
},
@ -58,14 +66,6 @@ export default {
}
return this.environment.name
},
selectedOrganisation: function () {
if (!this.application) {
return null
}
return 'Rebuilding Acquia'
}
}
}