summaryrefslogtreecommitdiff
blob: 17fd05bf74305f80481a2f0701b900c30f938b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff --git a/test/backend/interpolation_compiler_test.rb b/test/backend/interpolation_compiler_test.rb
index 5051299..5852b9c 100644
--- a/test/backend/interpolation_compiler_test.rb
+++ b/test/backend/interpolation_compiler_test.rb
@@ -104,5 +104,5 @@ class I18nBackendInterpolationCompilerTest < Test::Unit::TestCase
   end
   
   # I kinda don't think this really is a correct behavior
-  undef :'test interpolation: given no values it does not alter the string'
-end
\ No newline at end of file
+  undef_method 'test interpolation: given no values it does not alter the string'
+end
diff --git a/test/test_setup_requirements.rb b/test/test_setup_requirements.rb
index d5a2cbe..a057042 100644
--- a/test/test_setup_requirements.rb
+++ b/test/test_setup_requirements.rb
@@ -34,6 +34,7 @@ end
 
 def setup_active_record
   begin
+    require 'sqlite3'
     require 'active_record'
     ActiveRecord::Base.connection
     true
@@ -63,4 +64,4 @@ def connect_active_record
       t.boolean :is_proc, :default => false
     end
   end
-end
\ No newline at end of file
+end