Group
Extension

Matches 3

Pinwheel ( B/BB/BBC/Pinwheel-0.2.7.tar.gz, BBC, 2010; MetaCPAN )
Pinwheel/t/unit/database.t ( view source; MetaCPAN )
        'connect establishes a database connection');
    isnt(Pinwheel::Database::dbhostname, undef, 'connect fills in dbhostname');
    isnt(Pinwheel::Database::dbhostname, "", 'connect fills in dbh
onnect();
    Pinwheel::Database::connect();
    $dbh2 = $Pinwheel::Database::backend->{dbh};
    isnt($dbh1, $dbh2, 'disconnect/connect forces a new connection');

    $Pinwheel::Database::backend->{
d->{dbh};
    Pinwheel::Database::connect();
    $dbh2 = $Pinwheel::Database::backend->{dbh};
    isnt($dbh1, $dbh2, 'database handle is expired after 5 minutes');

    Pinwheel::Database::disconnect(
Pinwheel ( B/BB/BBC/Pinwheel-0.2.7.tar.gz, BBC, 2010; MetaCPAN )
Pinwheel/t/func/model.t ( view source; MetaCPAN )
eset();

    $b2 = thaw($ice);
    is($b1->id, $b2->id, 'thaw works without cached entries');
    isnt($b1, $b2);
    is($b2->episode->name, 'Today');

    # Flush the model cache
    Pinwheel::Contex
Pinwheel ( B/BB/BBC/Pinwheel-0.2.7.tar.gz, BBC, 2010; MetaCPAN )
Pinwheel/t/unit/model.t ( view source; MetaCPAN )
el_stash = \%::Models::Test::;

    { package Models::Test; Pinwheel::Model::query('find1') }
    isnt($model_stash->{find1}, undef);

    eval {
        { package Models::Test; Pinwheel::Model::query

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.