Fix to add_columns with column info arguments
[dbsrgits/DBIx-Class-Historic.git] / t / 19quotes.t
index a312e35..79d02ee 100644 (file)
@@ -6,18 +6,20 @@ BEGIN {
     eval "use DBD::SQLite";
     plan $@
         ? ( skip_all => 'needs DBD::SQLite for testing' )
-        : ( tests => 2 );
+        : ( tests => 3 );
 }
 
 use lib qw(t/lib);
 
 use_ok('DBICTest');
 
+use_ok('DBICTest::HelperRels');
+
 DBICTest::_db->storage->sql_maker->{'quote_char'} = q!'!;
 DBICTest::_db->storage->sql_maker->{'name_sep'} = '.';
 
 my $rs = DBICTest::CD->search(
-           { 'year' => 2001, 'artist.name' => 'Caterwauler McCrae' },
+           { 'me.year' => 2001, 'artist.name' => 'Caterwauler McCrae' },
            { join => 'artist' });
 
 cmp_ok( $rs->count, '==', 1, "join with fields quoted");