Browse files

don't require url if there is a source

  • Loading branch information...
1 parent ce8f82e commit dd71334b28ffe3d6d5af774e7f6bbdaa39f51b2f @szabgab szabgab committed Jan 12, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 t/004_valid_yaml.t
@@ -27,8 +27,8 @@ for my $site (@dancefloor_sites) {
ok ref $site eq 'HASH',
"Site $sitenum is a hashref";
- ok exists $site->{url},
- "Site $sitenum has an URL";
+ ok exists $site->{url} || exists $site->{source},
+ "Site $sitenum has an URL or source";
ok exists $site->{title},
"Site $sitenum has a title";
ok exists $site->{description},

0 comments on commit dd71334

Please sign in to comment.