rm body tag test
This commit is contained in:
@@ -3,7 +3,7 @@ describe("app.frontend", function() {
|
|||||||
beforeEach(module('app.frontend'));
|
beforeEach(module('app.frontend'));
|
||||||
|
|
||||||
describe('Home Controller', function() {
|
describe('Home Controller', function() {
|
||||||
|
|
||||||
var scope;
|
var scope;
|
||||||
beforeEach(inject(function($rootScope, $controller, modelManager) {
|
beforeEach(inject(function($rootScope, $controller, modelManager) {
|
||||||
scope = $rootScope.$new();
|
scope = $rootScope.$new();
|
||||||
@@ -13,10 +13,6 @@ describe("app.frontend", function() {
|
|||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('should have a body class', function() {
|
|
||||||
expect(scope.bodyClass).toEqual('app-body-class');
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should have an All tag', function() {
|
it('should have an All tag', function() {
|
||||||
expect(scope.allTag).toBeDefined();
|
expect(scope.allTag).toBeDefined();
|
||||||
expect(scope.allTag.title).toEqual("All");
|
expect(scope.allTag.title).toEqual("All");
|
||||||
@@ -31,7 +27,7 @@ describe("app.frontend", function() {
|
|||||||
scope.tagsAddNew("testTag");
|
scope.tagsAddNew("testTag");
|
||||||
expect($modelManager.items).toContain("testTag");
|
expect($modelManager.items).toContain("testTag");
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user