X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Flive_component_controller_anon.t;h=d7a9a2c0adeb186c75f00988a705ac426c791d53;hp=73d3f9c767e1f289b152c1c112e5e329f356552a;hb=82010ea176741c7a4f2baf3f6f27377b1d9f6b15;hpb=5bb1a41514e56f629611b4b9bfc23f7c0ddfa8eb diff --git a/t/aggregate/live_component_controller_anon.t b/t/aggregate/live_component_controller_anon.t index 73d3f9c..d7a9a2c 100644 --- a/t/aggregate/live_component_controller_anon.t +++ b/t/aggregate/live_component_controller_anon.t @@ -11,13 +11,13 @@ use Catalyst::Test 'TestApp'; my $response = request('http://localhost/anon/test'); ok($response->is_success); is($response->header('X-Component-Name-Action'), - 'TestApp::Controller::Anon', 'Action can see correct _component_name'); + 'TestApp::Controller::Anon', 'Action can see correct catalyst_component_name'); isnt($response->header('X-Component-Instance-Name-Action'), - 'TestApp::Controller::Anon', 'ref($controller) ne _component_name'); + 'TestApp::Controller::Anon', 'ref($controller) ne catalyst_component_name'); is($response->header('X-Component-Name-Controller'), - 'TestApp::Controller::Anon', 'Controller can see correct _component_name'); + 'TestApp::Controller::Anon', 'Controller can see correct catalyst_component_name'); is($response->header('X-Class-In-Action'), - 'TestApp::Controller::Anon', '$action->class is _component_name'); + 'TestApp::Controller::Anon', '$action->class is catalyst_component_name'); is($response->header('X-Anon-Trait-Applied'), '1', 'Anon controller class has trait applied correctly'); }