blob: 8ead445f2d4833a8ceaa0b47e79acffd45e47d7a [file] [log] [blame]
use Mojo::Base -strict;
use Mojolicious::Lite;
use Test::More;
use Test::Mojo;
use utf8;
my $t = Test::Mojo->new('Kalamar' => {
Kalamar => {
api_path => 'xyz',
navi_ext => [
{
title => 'Privacy',
id => 'privacy'
}
]
}
});
$t->get_ok('/doc')
->text_is('nav > ul.nav > li.active a', 'Query Languages')
->text_is('nav > ul.nav > li:last-child a', 'Privacy')
->element_exists('nav > ul.nav > li:last-child a[href=/doc/privacy#page-top]')
;
done_testing;