X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive_component_controller_action_action.t;h=bc2038ebc8039886276b0f05b532757bcd2e0369;hb=aee7cdcc0b2b3b7dc672b4b4a31b8c3b7ef3f1f7;hp=e74642f5867f66753d27cd524467053917bd6dd7;hpb=7d81af7e1358baaee20d748f36b85791378c30ae;p=catagits%2FCatalyst-Runtime.git 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'];