From bac6c4e72db69dc7f7c6b79754046b8957779fed Mon Sep 17 00:00:00 2001 From: jelhan Date: Wed, 27 Jul 2016 23:17:51 +0200 Subject: [PATCH] Fix test after version in package.json has been corrected --- tests/acceptance/build-info-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/build-info-test.js b/tests/acceptance/build-info-test.js index 7bca92f..c14eacf 100644 --- a/tests/acceptance/build-info-test.js +++ b/tests/acceptance/build-info-test.js @@ -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') ); });