From: Luke Saunders Date: Sat, 8 Apr 2006 19:07:38 +0000 (+0000) Subject: renamed 27result_set_column tests and fixed minor doc typo X-Git-Tag: v0.07002~75^2~247 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e8419341b29b77a820f5e82ea5a01b6ace750a2e;p=dbsrgits%2FDBIx-Class.git renamed 27result_set_column tests and fixed minor doc typo --- diff --git a/lib/DBIx/Class/ResultSetColumn.pm b/lib/DBIx/Class/ResultSetColumn.pm index 133e6ff..35f8fa4 100644 --- a/lib/DBIx/Class/ResultSetColumn.pm +++ b/lib/DBIx/Class/ResultSetColumn.pm @@ -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 diff --git a/t/basicrels/27result_set_column.t b/t/basicrels/28result_set_column.t similarity index 72% rename from t/basicrels/27result_set_column.t rename to t/basicrels/28result_set_column.t index d8d85be..cff21d7 100644 --- a/t/basicrels/27result_set_column.t +++ b/t/basicrels/28result_set_column.t @@ -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); diff --git a/t/helperrels/27result_set_column.t b/t/helperrels/28result_set_column.t similarity index 72% rename from t/helperrels/27result_set_column.t rename to t/helperrels/28result_set_column.t index fd2e13e..105b5c7 100644 --- a/t/helperrels/27result_set_column.t +++ b/t/helperrels/28result_set_column.t @@ -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); diff --git a/t/run/27result_set_column.tl b/t/run/28result_set_column.tl similarity index 100% rename from t/run/27result_set_column.tl rename to t/run/28result_set_column.tl