# # (c) Ferenc Erki <erkiferenc@gmail.com>, adjust GmbH # # vim: set ts=2 sw=2 tw=0: # vim: set expandtab: package Rex::Test::Base::has_dir; use strict; use warnings; our $VERSION = '1.7.0'; # VERSION use Rex -base; use base qw(Rex::Test::Base); sub new { my $that = shift; my $proto = ref($that) || $that; my $self = {@_}; bless( $self, $proto ); my ( $pkg, $file ) = caller(0); return $self; } sub run_test { my ( $self, $path ) = @_; $self->ok( is_dir($path), "Found $path directory." ); } 1;