From 9a658ab76da82c8b7ff1ca2174c583de5a055acd Mon Sep 17 00:00:00 2001 From: jelhan Date: Fri, 18 Mar 2016 13:15:32 +0100 Subject: [PATCH] allow alpha / beta / rc releases --- 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 8ae63fd..7bca92f 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(\+[\da-z]{8})?$/) !== null, + $('head meta[name="build-info"]').attr('content').match(/^version=v\d[\d\.]+\d(-(alpha|beta|rc)\d)?(\+[\da-z]{8})?$/) !== null, 'format '.concat($('head meta[name="build-info"]').attr('content'), ' is correct') ); });