Set version via environment variable
Change-Id: I09a496f0fc55c2dd7ef808ee85df9aa3c8f875b4
diff --git a/t/intro.t b/t/intro.t
index 3178098..f93ea73 100644
--- a/t/intro.t
+++ b/t/intro.t
@@ -4,6 +4,8 @@
use Mojo::File qw/path/;
use utf8;
+$ENV{KALAMAR_VERSION} = '0.47.999';
+
my $t = Test::Mojo->new('Kalamar');
$t->app->mode('production');
@@ -16,6 +18,7 @@
->text_is('div.intro > p > strong', 'KorAP')
->content_unlike(qr!onload!)
->text_is('#link-guided-tour', 'guided tour')
+ ->text_is('nav > a[href=/doc/korap/kalamar]', 'V 0.47.999')
;
# Only routed when existing