Sha256: 56628d78879a092b048ab9c9421a335f6b31e24470c79e66dcc1457efb231082
Contents?: true
Size: 530 Bytes
Versions: 70
Compression:
Stored size: 530 Bytes
Contents
describe('Filter:unlimitedFilter', function() { var unlimitedFilter; beforeEach(module('Bastion.components.formatters')); beforeEach(module(function($provide) { $provide.value('translate', function(a) {return a}); })); beforeEach(inject(function($filter) { unlimitedFilter = $filter('unlimitedFilter'); })); it("ensures correctly transforms limit", function() { expect(unlimitedFilter(3, true)).toBe('Unlimited'); expect(unlimitedFilter(2)).toBe('2'); }); });
Version data entries
70 entries across 70 versions & 1 rubygems