renamed 27result_set_column tests and fixed minor doc typo
Luke Saunders [Sat, 8 Apr 2006 19:07:38 +0000 (19:07 +0000)]
lib/DBIx/Class/ResultSetColumn.pm
t/basicrels/28result_set_column.t [moved from t/basicrels/27result_set_column.t with 72% similarity]
t/helperrels/28result_set_column.t [moved from t/helperrels/27result_set_column.t with 72% similarity]
t/run/28result_set_column.tl [moved from t/run/27result_set_column.tl with 100% similarity]

index 133e6ff..35f8fa4 100644 (file)
@@ -155,8 +155,8 @@ sub sum {
 =back
 
 Runs a query using the function on the column and returns the value. For example 
-  $rs $schema->resultset("CD")->search({});
-  $rs->get_column('title')->func('LENGTH');
+  $rs = $schema->resultset("CD")->search({});
+  $length = $rs->get_column('title')->func('LENGTH');
 
 Produces the following SQL
   SELECT LENGTH( title ) from cd me
similarity index 72%
rename from t/basicrels/27result_set_column.t
rename to t/basicrels/28result_set_column.t
index d8d85be..cff21d7 100644 (file)
@@ -3,5 +3,5 @@ use lib qw(t/lib);
 use DBICTest;
 use DBICTest::BasicRels;
 
-require "t/run/27result_set_column.tl";
+require "t/run/28result_set_column.tl";
 run_tests(DBICTest->schema);
similarity index 72%
rename from t/helperrels/27result_set_column.t
rename to t/helperrels/28result_set_column.t
index fd2e13e..105b5c7 100644 (file)
@@ -3,5 +3,5 @@ use lib qw(t/lib);
 use DBICTest;
 use DBICTest::HelperRels;
 
-require "t/run/27result_set_column.tl";
+require "t/run/28result_set_column.tl";
 run_tests(DBICTest->schema);