Actually add the new bits for rearranged apps
[catagits/Test-WWW-Mechanize-Catalyst.git] / t / white_label.t
CommitLineData
1f8dbf85 1use strict;
2use warnings;
3
4use Test::More tests => 4;
5use lib 't/lib';
6use Test::WWW::Mechanize::Catalyst;
7
8my $m = Test::WWW::Mechanize::Catalyst->new(catalyst_app => 'Catty');
9
10$m->host('foo.com');
11$m->get_ok('/host');
12$m->content_contains('Host: foo.com:80');
13
14$m->clear_host;
15$m->get_ok('/host');
16$m->content_contains('Host: localhost:80') or diag $m->content;