fixes to multi-create
[dbsrgits/DBIx-Class.git] / t / 96file_column.t
CommitLineData
4740bdb7 1use strict;
2use warnings;
3
4use Test::More;
5use lib qw(t/lib);
6use DBICTest;
7use IO::File;
8
9my $schema = DBICTest->init_schema();
10
28d4067a 11plan tests => 1;
4740bdb7 12
28d4067a 13my $fh = new IO::File('t/96file_column.t','r');
14eval { $schema->resultset('FileColumn')->create({file => {handle => $fh, filename =>'96file_column.t'}})};
2ec8e594 15cmp_ok($@,'eq','','FileColumn checking if file handled properly.');