aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/tasks/mysql_rake_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/cases/tasks/mysql_rake_test.rb b/activerecord/test/cases/tasks/mysql_rake_test.rb
index 38b9dd02f0..f2b2785e91 100644
--- a/activerecord/test/cases/tasks/mysql_rake_test.rb
+++ b/activerecord/test/cases/tasks/mysql_rake_test.rb
@@ -3,6 +3,10 @@ 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',