Skip to content
This repository
Browse code

Revert "Merge pull request #8942 from yahonda/tested_only_with_mysql"

This reverts commit 1fc294f, reversing
changes made to fb9ac47.

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.
  • Loading branch information...
commit 5d06f8a0a543bab761a72bb9a16cfedf3ae13f04 1 parent 210cd9b
Carlos Antonio da Silva authored January 15, 2013
4  activerecord/test/cases/tasks/mysql_rake_test.rb
@@ -3,10 +3,6 @@
3 3
 module ActiveRecord
4 4
   class MysqlDBCreateTest < ActiveRecord::TestCase
5 5
     def setup
6  
-      unless current_adapter?(:MysqlAdapter, :Mysql2Adapter)
7  
-        return skip("only tested on mysql or mysql2")
8  
-      end
9  
-
10 6
       @connection    = stub(:create_database => true)
11 7
       @configuration = {
12 8
         'adapter'  => 'mysql',

0 notes on commit 5d06f8a

Please sign in to comment.
Something went wrong with that request. Please try again.