Permalink
Browse files

To support ActiveRecord unit tests for IBM DB2

  • Loading branch information...
1 parent d68884f commit b564ffcad4df58c8364bafb850774539b161b26a @yahonda yahonda committed Oct 3, 2011
Showing with 5 additions and 0 deletions.
  1. +3 −0 Gemfile
  2. +2 −0 activerecord/test/config.example.yml
View
@@ -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 Oracle database
+gem "ibm_db" if ENV['IBM_DB']
@@ -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

0 comments on commit b564ffc

Please sign in to comment.