Skip to content
Browse files

only run this test if YAML is available

  • Loading branch information...
1 parent 5951095 commit 64e6eb2ecc94cf9100c5589768f168edd4481b67 @xsawyerx xsawyerx committed Apr 1, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 t/01_config/08_environments.t
View
4 t/01_config/08_environments.t
@@ -1,6 +1,10 @@
use strict;
use warnings;
use Test::More import => ['!pass'];
+use Dancer::ModuleLoader;
+
+Dancer::ModuleLoader->load('YAML')
+ or plan skip_all => 'YAML is needed to run this test';
plan tests => 5;

0 comments on commit 64e6eb2

Please sign in to comment.
Something went wrong with that request. Please try again.