From: Peter Rabbitson <ribasushi@cpan.org>
Date: Wed, 10 Jun 2009 09:22:05 +0000 (+0000)
Subject: Move the rs preservation test to a more suitable place
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=04e0d6ef0f1eb4785cbd31520c50106ccaacea0f;p=dbsrgits%2FDBIx-Class-Historic.git

Move the rs preservation test to a more suitable place
---

diff --git a/t/lib/DBICTest/Schema/Artist.pm b/t/lib/DBICTest/Schema/Artist.pm
index b9794fe..be46d16 100644
--- a/t/lib/DBICTest/Schema/Artist.pm
+++ b/t/lib/DBICTest/Schema/Artist.pm
@@ -54,9 +54,9 @@ __PACKAGE__->has_many(
 );
 
 __PACKAGE__->has_many(
-    artist_to_artwork => 'DBICTest::Schema::Artwork_to_Artist' => 'artist_id'
+    artwork_to_artist => 'DBICTest::Schema::Artwork_to_Artist' => 'artist_id'
 );
-__PACKAGE__->many_to_many('artworks', 'artist_to_artwork', 'artwork');
+__PACKAGE__->many_to_many('artworks', 'artwork_to_artist', 'artwork');
 
 
 sub sqlt_deploy_hook {
diff --git a/t/prefetch/pollute_already_joined.t b/t/search/preserve_original_rs.t
similarity index 100%
rename from t/prefetch/pollute_already_joined.t
rename to t/search/preserve_original_rs.t