Skip to content

Commit

Permalink
Merge pull request #3191 from yahonda/activerecord_unittest_db2
Browse files Browse the repository at this point in the history
To support ActiveRecord unit tests for IBM DB2
  • Loading branch information
tenderlove committed Oct 3, 2011
2 parents 2120d7b + 8cc70cf commit e141cbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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']
2 changes: 2 additions & 0 deletions activerecord/test/config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e141cbd

Please sign in to comment.