From 5d06f8a0a543bab761a72bb9a16cfedf3ae13f04 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 15 Jan 2013 09:18:55 -0200 Subject: Revert "Merge pull request #8942 from yahonda/tested_only_with_mysql" This reverts commit 1fc294f988e93ac59057a16b0e44b9cf93af9720, reversing changes made to fb9ac47c286fbdfe05263d4d0346e50892090603. Reason: these tests should run fine independent of database, since they should only take into account the configuration options. The problem was related to a change in the way "nil" is handled by the rescue clause, in Ruby 2.0 it raises an exception asking for class or module, in 1.9 it passes. --- activerecord/test/cases/tasks/mysql_rake_test.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/test') diff --git a/activerecord/test/cases/tasks/mysql_rake_test.rb b/activerecord/test/cases/tasks/mysql_rake_test.rb index f2b2785e91..38b9dd02f0 100644 --- a/activerecord/test/cases/tasks/mysql_rake_test.rb +++ b/activerecord/test/cases/tasks/mysql_rake_test.rb @@ -3,10 +3,6 @@ require 'cases/helper' module ActiveRecord class MysqlDBCreateTest < ActiveRecord::TestCase def setup - unless current_adapter?(:MysqlAdapter, :Mysql2Adapter) - return skip("only tested on mysql or mysql2") - end - @connection = stub(:create_database => true) @configuration = { 'adapter' => 'mysql', -- cgit v1.2.3