1use strict;
2use Test::More;
3use lib("t/lib");
4use GunghoTest;
5
6BEGIN
7{
8    if (! GunghoTest::assert_engine()) {
9        plan(skip_all => "No engine available");
10    } else {
11        eval "use HTML::RobotsMETA";
12        if ($@) {
13            plan(skip_all => "HTML::RobotsMETA not installed: $@");
14        } else {
15            plan(tests => 4);
16            use_ok("Gungho");
17        }
18    }
19}
20
21Gungho->bootstrap({
22    user_agent => "Install Test For Gungho $Gungho::VERSION",
23    components => [
24        'RobotsMETA'
25    ],
26    provider => {
27        module => 'Simple'
28    }
29});
30
31can_ok('Gungho', 'robots_meta');
32ok(Gungho->robots_meta);
33isa_ok(Gungho->robots_meta, "HTML::RobotsMETA");
34
351;