From 29fd331b986a2dd72821925c7adc42abda63329e Mon Sep 17 00:00:00 2001 From: Jon Jensen Date: Sun, 27 Apr 2014 17:41:56 -0600 Subject: [PATCH] fix broken 3.x test --- test/immigrant_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/immigrant_test.rb b/test/immigrant_test.rb index 7cf1d0b..54e0504 100644 --- a/test/immigrant_test.rb +++ b/test/immigrant_test.rb @@ -353,7 +353,7 @@ class Author < MockModel has_many :books, :finder_sql => <<-SQL SELECT * FROM books - WHERE author_id = \#{id} + WHERE author_id = \\\#{id} ORDER BY RANDOM() LIMIT 5' SQL end