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_action_action.t;h=bc2038ebc8039886276b0f05b532757bcd2e0369;hp=e74642f5867f66753d27cd524467053917bd6dd7;hb=b09bbdcbefa4f36ad9903dc033f157736557ddf0;hpb=54c824bd5bd84579de75e830b202e08a628d82ec diff --git a/t/aggregate/live_component_controller_action_action.t b/t/aggregate/live_component_controller_action_action.t index e74642f..bc2038e 100644 --- a/t/aggregate/live_component_controller_action_action.t +++ b/t/aggregate/live_component_controller_action_action.t @@ -185,6 +185,10 @@ sub run_tests { 'Content is a serialized Catalyst::Action' ); + require Catalyst::Action; # when running against a remote server, we + # need to load the class in the test process + # to be able to introspect the action instance + # later. my $action = eval $response->content; is_deeply $action->attributes->{extra_attribute}, [13]; is_deeply $action->attributes->{another_extra_attribute}, ['foo'];