'use strict'; describe('filter', function() { beforeEach(module('diff')); describe('checkmark', function() { it('should convert a string to the diff value with another string', inject(function(diffFilter) { expect(diffFilter( 'The red brown fox jumped over the rolling log.', 'The brown spotted fox leaped over the rolling log') .$$unwrapTrustedValue()).toBe( ' The red brown spotted fox jumped leaped over the rolling log.\nlog\n'); })); }); });