From: André Walker Date: Wed, 8 Jun 2011 20:55:03 +0000 (-0300) Subject: more test description X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=663a4f349d0ee272c1edfa107f30962bbe8ce532;hp=6682389c3c6a9a856dea70722ff851d05250f8ad;p=catagits%2FCatalyst-Runtime.git more test description --- diff --git a/t/aggregate/unit_core_container_mock_load.t b/t/aggregate/unit_core_container_mock_load.t index 695b2ab..9a04b2d 100644 --- a/t/aggregate/unit_core_container_mock_load.t +++ b/t/aggregate/unit_core_container_mock_load.t @@ -18,12 +18,12 @@ __PACKAGE__->config->{ substitutions } = { __PACKAGE__->setup; -ok( my $conf = __PACKAGE__->config ); +ok( my $conf = __PACKAGE__->config, 'config loads' ); is( $conf->{ 'Controller::Foo' }->{ foo }, 'bar' ); is( $conf->{ 'Controller::Foo' }->{ new }, 'key' ); is( $conf->{ 'Model::Baz' }->{ qux }, 'xyzzy' ); is( $conf->{ 'Model::Baz' }->{ another }, 'new key' ); is( $conf->{ 'view' }, 'View::TT::New' ); is( $conf->{ 'foo_sub' }, 'x-y' ); -is( $conf->{ 'literal_macro' }, '__DATA__' ); +is( $conf->{ 'literal_macro' }, '__DATA__', 'literal macro' ); is( $conf->{ 'Plugin::Zot' }->{ zoot }, 'zooot'); diff --git a/t/aggregate/unit_core_container_mock_load_env.t b/t/aggregate/unit_core_container_mock_load_env.t index 55e9015..311d6ac 100644 --- a/t/aggregate/unit_core_container_mock_load_env.t +++ b/t/aggregate/unit_core_container_mock_load_env.t @@ -19,12 +19,12 @@ __PACKAGE__->config->{substitutions} = { __PACKAGE__->setup; -ok( my $conf = __PACKAGE__->config ); +ok( my $conf = __PACKAGE__->config, 'config loads' ); is( $conf->{ 'Controller::Foo' }->{ foo }, 'bar' ); is( $conf->{ 'Controller::Foo' }->{ new }, 'key' ); is( $conf->{ 'Model::Baz' }->{ qux }, 'xyzzy' ); is( $conf->{ 'Model::Baz' }->{ another }, 'new key' ); is( $conf->{ 'view' }, 'View::TT::New' ); is( $conf->{ 'foo_sub' }, 'x-y' ); -is( $conf->{ 'literal_macro' }, '__DATA__' ); -is( $conf->{ 'environment_macro' }, $ENV{ CATALYST_HOME }.'/mockapp.pl' ); +is( $conf->{ 'literal_macro' }, '__DATA__', 'literal macro' ); +is( $conf->{ 'environment_macro' }, $ENV{ CATALYST_HOME }.'/mockapp.pl', 'environment macro' );