35 lines
1.0 KiB
JavaScript
35 lines
1.0 KiB
JavaScript
var HeaderViewModel = require('dashboard/views/api-keys/header-view-model');
|
|
var headerViewModelTests = require('../../shared/header-view-model');
|
|
|
|
describe('dashboard/views/api-keys/header-view-model', function () {
|
|
beforeEach(function () {
|
|
this.viewModel = new HeaderViewModel();
|
|
});
|
|
|
|
headerViewModelTests.call(this);
|
|
|
|
describe('.breadcrumbTitle', function () {
|
|
it('should always return a string', function () {
|
|
expect(this.viewModel.breadcrumbTitle()).toEqual(jasmine.any(String));
|
|
});
|
|
});
|
|
|
|
describe('.isDisplayingDatasets', function () {
|
|
it('should always return false', function () {
|
|
expect(this.viewModel.isDisplayingDatasets()).toBeFalsy();
|
|
});
|
|
});
|
|
|
|
describe('.isDisplayingMaps', function () {
|
|
it('should always return false', function () {
|
|
expect(this.viewModel.isDisplayingMaps()).toBeFalsy();
|
|
});
|
|
});
|
|
|
|
describe('.isDisplayingLockedItems', function () {
|
|
it('should always return false', function () {
|
|
expect(this.viewModel.isDisplayingLockedItems()).toBeFalsy();
|
|
});
|
|
});
|
|
});
|