Fix of broken tests

This commit is contained in:
knsv
2015-10-04 19:30:53 +02:00
parent c5d41c5a21
commit 122274bf52
9 changed files with 879 additions and 809 deletions

View File

@@ -8,19 +8,6 @@ describe('when detecting chart type ',function() {
});
it('should handle a sequence defintion', function () {
str = 'sequence TB\nbfs1:queue';
var type = utils.detectType(str);
expect(type).toBe('sequence');
});
it('should handle a sequence defintion with leading spaces', function () {
str = ' sequence TB\nbfs1:queue';
var type = utils.detectType(str);
expect(type).toBe('sequence');
});
it('should handle a graph defintion', function () {
str = 'graph TB\nbfs1:queue';
@@ -40,12 +27,6 @@ describe('when detecting chart type ',function() {
var type = utils.detectType(str);
expect(type).toBe('graph');
});
it('should handle a sequence defintion with leading spaces and newline', function () {
str = ' \n sequence TB\nbfs1:queue';
var type = utils.detectType(str);
expect(type).toBe('sequence');
});
});
describe('when cloning CSS ',function() {