Merge pull request #3191 from yahonda/activerecord_unittest_db2

To support ActiveRecord unit tests for IBM DB2
This commit is contained in:
Aaron Patterson
2011-10-03 09:04:46 -07:00
2 changed files with 5 additions and 0 deletions

View File

@@ -99,3 +99,6 @@ if ENV['ORACLE_ENHANCED_PATH'] || ENV['ORACLE_ENHANCED']
gem "activerecord-oracle_enhanced-adapter", :git => "git://github.com/rsim/oracle-enhanced.git"
end
end
# A gem necessary for ActiveRecord tests with IBM DB
gem "ibm_db" if ENV['IBM_DB']

View File

@@ -37,11 +37,13 @@ connections:
db2:
arunit:
adapter: ibm_db
host: localhost
username: arunit
password: arunit
database: arunit
arunit2:
adapter: ibm_db
host: localhost
username: arunit
password: arunit