X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_component_controller_moose.t;h=353e51563612378f25d5ce3157c9b8f1f4d0ab50;hb=e16a6c4e6c4d49e73b5286b3186616af14f3f554;hp=0882fd0140fc48c8a305cafe27fb7561757590e9;hpb=25257b71142d092eeb227e8c247eb99c8b2ed4b7;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_component_controller_moose.t b/t/live_component_controller_moose.t index 0882fd0..353e515 100644 --- a/t/live_component_controller_moose.t +++ b/t/live_component_controller_moose.t @@ -1,10 +1,19 @@ use strict; use warnings; +use Test::More; + +BEGIN { + if (eval 'require Moose; 1') { + plan tests => 2; + } + else { + plan skip_all => 'Moose is required for this test'; + } +} use FindBin; use lib "$FindBin::Bin/lib"; -use Test::More tests => 2; use Catalyst::Test 'TestApp'; {