Permalink
Browse files

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...
1 parent 210cd9b commit 5d06f8a0a543bab761a72bb9a16cfedf3ae13f04 @carlosantoniodasilva carlosantoniodasilva committed Jan 15, 2013
Showing with 0 additions and 4 deletions.
  1. +0 −4 activerecord/test/cases/tasks/mysql_rake_test.rb
@@ -3,10 +3,6 @@
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',

0 comments on commit 5d06f8a

Please sign in to comment.