Move helperrels/26sqlt.t, and all t/run/*.tl scripts, to t/*.t
[dbsrgits/DBIx-Class.git] / t / 84serialize.t
diff --git a/t/84serialize.t b/t/84serialize.t
new file mode 100644 (file)
index 0000000..d79acba
--- /dev/null
@@ -0,0 +1,16 @@
+use strict;
+use warnings;  
+
+use Test::More;
+use lib qw(t/lib);
+use DBICTest;
+use Storable;
+
+my $schema = DBICTest::init_schema();
+
+plan tests => 1;
+
+my $artist = $schema->resultset('Artist')->find(1);
+my $copy = eval { Storable::dclone($artist) };
+is_deeply($copy, $artist, 'serialize row object works');
+