Chage {-type => 'name', args => [] } to {-type => 'identifier', elements => [] }
[dbsrgits/SQL-Abstract-2.0-ish.git] / t / 003_quote.t
index 6f26fb6..a7a6b58 100644 (file)
@@ -13,16 +13,16 @@ lives_ok {
 } "coercion of quote_chars from Str works";
 
 
-is $sqla->dispatch( { -type => 'name', args => [qw/me id/] }), 
+is $sqla->dispatch( { -type => 'identifier', elements => [qw/me id/] }), 
    "[me].[id]",
    "me.id";
 
 
-is $sqla->dispatch( { -type => 'name', args => [qw/me */] }), 
+is $sqla->dispatch( { -type => 'identifier', elements => [qw/me */] }), 
    "[me].*",
    "me.*";
 
 
-is $sqla->dispatch( { -type => 'name', args => [qw/*/] }), 
+is $sqla->dispatch( { -type => 'identifier', elements => [qw/*/] }), 
    "*",
    "*";