aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-15 09:18:55 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-15 09:18:55 -0200
commit5d06f8a0a543bab761a72bb9a16cfedf3ae13f04 (patch)
tree8f46a1ceb3052ea7cf75d4babe6876e4aa0d2ddc
parent210cd9b08c29c618063b8c36fe968c3ee187c145 (diff)
downloadrails-5d06f8a0a543bab761a72bb9a16cfedf3ae13f04.tar.gz
rails-5d06f8a0a543bab761a72bb9a16cfedf3ae13f04.tar.bz2
rails-5d06f8a0a543bab761a72bb9a16cfedf3ae13f04.zip
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.
-rw-r--r--activerecord/test/cases/tasks/mysql_rake_test.rb4
1 files changed, 0 insertions, 4 deletions
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',