[Bps-public-commit] Prophet branch, master, updated. 0.73-12-gb699b66

sartak at bestpractical.com sartak at bestpractical.com
Tue Oct 6 17:10:32 EDT 2009


The branch, master has been updated
       via  b699b6604273acec04a9820c88e6d736acd2633c (commit)
      from  87f242081079520b337436cf65385881d0d56d36 (commit)

Summary of changes:
 t/lib/TestApp/Bug.pm          |    5 ++++-
 t/lib/TestApp/BugCatcher.pm   |    5 ++++-
 t/lib/TestApp/ButterflyNet.pm |    5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit b699b6604273acec04a9820c88e6d736acd2633c
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Oct 6 17:10:08 2009 -0400

    Declare these test class attrs as bare

diff --git a/t/lib/TestApp/Bug.pm b/t/lib/TestApp/Bug.pm
index 62733cc..77b6e9d 100644
--- a/t/lib/TestApp/Bug.pm
+++ b/t/lib/TestApp/Bug.pm
@@ -2,7 +2,10 @@ package TestApp::Bug;
 use Any::Moose;
 extends 'Prophet::Record';
 
-has type => ( default => 'bug' );
+has type => (
+    is      => 'bare',
+    default => 'bug',
+);
 
 use constant collection_class => 'TestApp::Bugs';
 
diff --git a/t/lib/TestApp/BugCatcher.pm b/t/lib/TestApp/BugCatcher.pm
index 123166c..83b74f6 100644
--- a/t/lib/TestApp/BugCatcher.pm
+++ b/t/lib/TestApp/BugCatcher.pm
@@ -2,7 +2,10 @@ package TestApp::BugCatcher;
 use Any::Moose;
 extends 'Prophet::Record';
 
-has type => ( default => 'bugcatcher' );
+has type => (
+    is      => 'bare',
+    default => 'bugcatcher',
+);
 
 __PACKAGE__->register_reference( bugs => 'TestApp::Bugs', by => 'bugcatcher');
 __PACKAGE__->register_reference( net => 'TestApp::ButterflyNet' );
diff --git a/t/lib/TestApp/ButterflyNet.pm b/t/lib/TestApp/ButterflyNet.pm
index 75a5bc1..f53abc2 100644
--- a/t/lib/TestApp/ButterflyNet.pm
+++ b/t/lib/TestApp/ButterflyNet.pm
@@ -2,7 +2,10 @@ package TestApp::ButterflyNet;
 use Any::Moose;
 extends 'Prophet::Record';
 
-has type => ( default => 'net' );
+has type => (
+    is      => 'bare',
+    default => 'net',
+);
 
 __PACKAGE__->meta->make_immutable;
 no Any::Moose;

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



More information about the Bps-public-commit mailing list