File: unit_core_component_generating.t

package info (click to toggle)
libcatalyst-perl 5.90132-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,016 kB
  • sloc: perl: 11,061; makefile: 7
file content (10 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
use Test::More tests => 3;
use strict;
use warnings;

use lib 't/lib';
use TestApp;

ok(TestApp->model('Generating'), 'knows about generating model');
ok(TestApp->model('Generated'), 'knows about the generated model');
is(TestApp->model('Generated')->foo, 'foo', 'can operate on generated model');