[Jifty-commit] jifty-dbi branch, computed-columns, updated. 0.60-10-gc574d7d

Jifty commits jifty-commit at lists.jifty.org
Wed May 19 03:35:19 EDT 2010


The branch, computed-columns has been updated
       via  c574d7d9288429787a598f2f09eba6a377ed72f4 (commit)
      from  0978a6b8f87270bbe928e300ac0acb3b0c5a4701 (commit)

Summary of changes:
 t/10schema.t    |    2 +-
 t/testmodels.pl |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit c574d7d9288429787a598f2f09eba6a377ed72f4
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed May 19 16:35:21 2010 +0900

    Add a computed "age" column to the Sample::Employee test model

diff --git a/t/10schema.t b/t/10schema.t
index 03e7342..0a01e9e 100644
--- a/t/10schema.t
+++ b/t/10schema.t
@@ -78,7 +78,7 @@ foreach my $d ( @available_drivers ) {
     my $employee = Sample::Employee->new;
     
     isa_ok($employee, 'Sample::Employee');
-    can_ok($employee, qw( label type dexterity ));
+    can_ok($employee, qw( label type dexterity age ));
     
     $ret = $SG->add_model($employee);
 
diff --git a/t/testmodels.pl b/t/testmodels.pl
index 1fa20c2..02f7082 100644
--- a/t/testmodels.pl
+++ b/t/testmodels.pl
@@ -8,6 +8,7 @@ column name      =>
     is indexed;
 column label     => type is 'varchar';
 column type      => type is 'varchar';
+column age       => is computed;
 
 };
 

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list