mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
tests, run adapter specific rake tests only for the right adapter.
This commit is contained in:
parent
e63ae630e1
commit
5f25435bf4
3 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
require 'cases/helper'
|
||||
|
||||
if current_adapter?(:MysqlAdapter, :Mysql2Adapter)
|
||||
module ActiveRecord
|
||||
class MysqlDBCreateTest < ActiveRecord::TestCase
|
||||
def setup
|
||||
|
@ -307,3 +308,4 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
require 'cases/helper'
|
||||
|
||||
if current_adapter?(:PostgreSQLAdapter)
|
||||
module ActiveRecord
|
||||
class PostgreSQLDBCreateTest < ActiveRecord::TestCase
|
||||
def setup
|
||||
|
@ -241,3 +242,4 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
require 'cases/helper'
|
||||
require 'pathname'
|
||||
|
||||
if current_adapter?(:SQLite3Adapter)
|
||||
module ActiveRecord
|
||||
class SqliteDBCreateTest < ActiveRecord::TestCase
|
||||
def setup
|
||||
|
@ -189,3 +190,4 @@ module ActiveRecord
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue