Fix test after version in package.json has been corrected

This commit is contained in:
jelhan 2016-07-27 23:17:51 +02:00
parent 4bdea08b60
commit bac6c4e72d

View file

@ -9,7 +9,7 @@ test('version is included as html meta tag', function(assert) {
andThen(function() {
assert.ok($('head meta[name="build-info"]').length === 1, 'tag exists');
assert.ok(
$('head meta[name="build-info"]').attr('content').match(/^version=v\d[\d\.]+\d(-(alpha|beta|rc)\d)?(\+[\da-z]{8})?$/) !== null,
$('head meta[name="build-info"]').attr('content').match(/^version=\d[\d\.]+\d(-(alpha|beta|rc)\d)?(\+[\da-z]{8})?$/) !== null,
'format '.concat($('head meta[name="build-info"]').attr('content'), ' is correct')
);
});