Sha256: 0645c98e9e84612b5bb685e4bdbfd17a7a14469b65fdba0d2a84c4de26cff8e0

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

'use strict';

describe('herald.artifact module', function() {
  beforeEach(module('herald.artifact'));

  describe('app-version directive', function() {
    it('should print current version', function() {
      module(function($provide) {
        $provide.value('artifact', { version: 'TEST_VER' });
      });
      inject(function($compile, $rootScope) {
        var element = $compile('<span app-version></span>')($rootScope);
        expect(element.text()).toEqual('TEST_VER');
      });
    });
  });
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-herald-0.1.1 lib/puppet-herald/public/components/artifact/artifact-directive_test.js