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