Aniki

 view release on metacpan or  search on metacpan

t/12_new_row_from_hashref.t  view on Meta::CPAN

use strict;
use warnings;
use utf8;

use Test::More;

use File::Spec;
use lib File::Spec->catfile('t', 'lib');
use t::Util;

run_on_database {
    my $karupa = db->new_row_from_hashref(author => { name => 'KARUPA' });
    isa_ok $karupa, 't::DB::Row::Author';
    is $karupa->name, 'KARUPA';
};

done_testing();



( run in 0.608 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )