projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
660cf1b
)
Now we can do diag $rs->hri_dump, ain't that nice
Peter Rabbitson [Sat, 16 May 2009 07:34:21 +0000 (07:34 +0000)]
t/lib/DBICTest/BaseResultSet.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/DBICTest/BaseResultSet.pm
b/t/lib/DBICTest/BaseResultSet.pm
index
7269f30
..
6d9df85
100644
(file)
--- a/
t/lib/DBICTest/BaseResultSet.pm
+++ b/
t/lib/DBICTest/BaseResultSet.pm
@@
-6,4
+6,8
@@
use warnings;
use base qw/DBIx::Class::ResultSet/;
+sub hri_dump {
+ return shift->search ({}, { result_class => 'DBIx::Class::ResultClass::HashRefInflator' });
+}
+
1;